Sepolicy: Give asan_extract access to powerctl
rc-style powerctl has beem removed. Accordingly, asan_extract now needs access to sys.powerctl directly. Bug: 36458146 Test: m && m SANITIZE_TARGET=address SANITIZE_TARGET_SYSTEM=true Change-Id: Ic65a858962b4b3dd613fdbfa09f93d21425bf892
This commit is contained in:
parent
c14625042c
commit
8267208921
3 changed files with 2 additions and 6 deletions
|
@ -111,6 +111,3 @@ wlan. u:object_r:wifi_prop:s0
|
|||
|
||||
# hwservicemanager properties
|
||||
hwservicemanager. u:object_r:hwservicemanager_prop:s0
|
||||
|
||||
# ASAN install trigger
|
||||
asan.restore_reboot u:object_r:asan_reboot_prop:s0
|
||||
|
|
|
@ -31,6 +31,6 @@ with_asan(`
|
|||
# Restorecon will actually already try to run with sanitized libraries (libpackagelistparser).
|
||||
allow asan_extract system_data_file:file execute;
|
||||
|
||||
# We use asan.restore_reboot to signal a reboot is required.
|
||||
set_prop(asan_extract, asan_reboot_prop)
|
||||
# We need to signal a reboot when done.
|
||||
set_prop(asan_extract, powerctl_prop)
|
||||
')
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
type asan_reboot_prop, property_type;
|
||||
type audio_prop, property_type, core_property_type;
|
||||
type boottime_prop, property_type;
|
||||
type bluetooth_prop, property_type;
|
||||
|
|
Loading…
Reference in a new issue