Merge "Allow init to write to /proc/cpu/alignment" am: 54bd8438b1
am: c9c4f7fab2
am: 44b7ff808f
am: f1be036c13
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1874738 Change-Id: I01cd3b6566312c7bc171c0ea420585435130cce0
This commit is contained in:
commit
a6e5a53a98
4 changed files with 7 additions and 1 deletions
|
@ -1961,7 +1961,10 @@
|
|||
(typeattributeset print_service_31_0 (print_service))
|
||||
(typeattributeset priv_app_31_0 (priv_app))
|
||||
(typeattributeset privapp_data_file_31_0 (privapp_data_file))
|
||||
(typeattributeset proc_31_0 (proc))
|
||||
(typeattributeset proc_31_0
|
||||
( proc
|
||||
proc_cpu_alignment
|
||||
))
|
||||
(typeattributeset proc_abi_31_0 (proc_abi))
|
||||
(typeattributeset proc_asound_31_0 (proc_asound))
|
||||
(typeattributeset proc_bluetooth_writable_31_0 (proc_bluetooth_writable))
|
||||
|
|
|
@ -7,6 +7,7 @@ genfscon proc /bootconfig u:object_r:proc_bootconfig:s0
|
|||
genfscon proc /buddyinfo u:object_r:proc_buddyinfo:s0
|
||||
genfscon proc /cmdline u:object_r:proc_cmdline:s0
|
||||
genfscon proc /config.gz u:object_r:config_gz:s0
|
||||
genfscon proc /cpu/alignment u:object_r:proc_cpu_alignment:s0
|
||||
genfscon proc /diskstats u:object_r:proc_diskstats:s0
|
||||
genfscon proc /filesystems u:object_r:proc_filesystems:s0
|
||||
genfscon proc /interrupts u:object_r:proc_interrupts:s0
|
||||
|
|
|
@ -25,6 +25,7 @@ type proc_asound, fs_type, proc_type;
|
|||
type proc_bootconfig, fs_type, proc_type;
|
||||
type proc_buddyinfo, fs_type, proc_type;
|
||||
type proc_cmdline, fs_type, proc_type;
|
||||
type proc_cpu_alignment, fs_type, proc_type;
|
||||
type proc_cpuinfo, fs_type, proc_type;
|
||||
type proc_dirty, fs_type, proc_type;
|
||||
type proc_diskstats, fs_type, proc_type;
|
||||
|
|
|
@ -371,6 +371,7 @@ allow init {
|
|||
|
||||
allow init {
|
||||
proc_abi
|
||||
proc_cpu_alignment
|
||||
proc_dirty
|
||||
proc_hostname
|
||||
proc_hung_task
|
||||
|
|
Loading…
Reference in a new issue