sepolicy:gs101: allow init-insmod-sh to access sysfs_leds nodes
Bug: 186788772 Signed-off-by: Oleg Matcovschi <omatcovschi@google.com> Change-Id: I9cc44571eb5c8f52d6307bff9cb77f08712c5404
This commit is contained in:
parent
66634d4d20
commit
963848fdaa
1 changed files with 1 additions and 0 deletions
1
whitechapel/vendor/google/init-insmod-sh.te
vendored
1
whitechapel/vendor/google/init-insmod-sh.te
vendored
|
@ -3,6 +3,7 @@ type init-insmod-sh_exec, vendor_file_type, exec_type, file_type;
|
|||
init_daemon_domain(init-insmod-sh)
|
||||
|
||||
allow init-insmod-sh self:capability sys_module;
|
||||
allow init-insmod-sh sysfs_leds:dir r_dir_perms;
|
||||
allow init-insmod-sh vendor_kernel_modules:system module_load;
|
||||
allow init-insmod-sh vendor_toolbox_exec:file execute_no_trans;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue