-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new SEPolicy macro of module_not_disable
Add a new SEPolicy macro of module_not_disable, use this to wrap the sepolicy rules needed to be compiled if some module is disabled. Tracked-On: OAM-127489 Signed-off-by: jizhenlo <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
allow hal_bluetooth_vbt rfkill_device:chr_file rw_file_perms; | ||
module_not_disable(`bluetooth', ` | ||
allow hal_bluetooth_vbt rfkill_device:chr_file rw_file_perms; | ||
') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters