Bug: 182086611 Test: boot with the error gone Change-Id: I555c12b4ccbb61266dc289aac577d0240bde4d28
15 lines
491 B
Text
15 lines
491 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 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;
|