Bug: 196916111 Test: boot to home with all services launched Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
16 lines
540 B
Text
16 lines
540 B
Text
type init-insmod-sh, domain;
|
|
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;
|
|
|
|
set_prop(init-insmod-sh, vendor_device_prop)
|
|
|
|
userdebug_or_eng(`
|
|
allow init-insmod-sh vendor_regmap_debugfs:dir search;
|
|
')
|
|
|
|
dontaudit init-insmod-sh proc_cmdline:file r_file_perms;
|