Merge "microdroid: add sys.powerctl property" am: 0bab949b50
am: 8bee686778
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1872874 Change-Id: I8f5f7c6dfccec2108c2cb344cc91caa6afd326b4
This commit is contained in:
commit
773bb77758
3 changed files with 5 additions and 0 deletions
|
@ -66,4 +66,7 @@ set_prop(microdroid_manager, microdroid_manager_roothash_prop)
|
|||
# need to be started or not.
|
||||
get_prop(microdroid_manager, bootloader_prop)
|
||||
|
||||
# Allow microdroid_manager to shutdown the device when verification fails
|
||||
set_prop(microdroid_manager, powerctl_prop)
|
||||
|
||||
neverallow microdroid_manager { file_type fs_type }:file execute_no_trans;
|
||||
|
|
|
@ -33,6 +33,7 @@ ctl.fuse_ u:object_r:ctl_fuse_prop:s0
|
|||
ctl. u:object_r:ctl_default_prop:s0
|
||||
|
||||
sys.init.perf_lsm_hooks u:object_r:init_perf_lsm_hooks_prop:s0 exact bool
|
||||
sys.powerctl u:object_r:powerctl_prop:s0
|
||||
|
||||
service.adb.root u:object_r:shell_prop:s0 exact bool
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ type timezone_prop, property_type;
|
|||
type usb_control_prop, property_type;
|
||||
type vendor_default_prop, property_type;
|
||||
type vmsecret_keymint_prop, property_type;
|
||||
type powerctl_prop, property_type;
|
||||
|
||||
allow property_type tmpfs:filesystem associate;
|
||||
|
||||
|
|
Loading…
Reference in a new issue