You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
601 B
20 lines
601 B
type init-insmod-sh, domain;
|
|
type init-insmod-sh_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(init-insmod-sh)
|
|
|
|
allow init-insmod-sh vendor_shell_exec:file rx_file_perms;
|
|
allow init-insmod-sh vendor_toolbox_exec:file rx_file_perms;
|
|
|
|
# Set the vendor.all.modules.ready property
|
|
set_prop(init-insmod-sh, vendor_device_prop)
|
|
|
|
# Allow insmod
|
|
allow init-insmod-sh self:capability sys_module;
|
|
allow init-insmod-sh system_file:system module_load;
|
|
|
|
allow init-insmod-sh vendor_file:system module_load;
|
|
|
|
allow init-insmod-sh kernel:key search;
|
|
allow init-insmod-sh debugfs_wlan:dir search;
|