2017-06-03 01:09:26 +02:00
|
|
|
# For the use of /vendor/bin/modprobe from vendor init.rc fragments
|
|
|
|
domain_trans(init, vendor_toolbox_exec, vendor_modprobe)
|
|
|
|
|
|
|
|
allow vendor_modprobe proc_modules:file r_file_perms;
|
2020-05-04 17:58:46 +02:00
|
|
|
allow vendor_modprobe proc_cmdline:file r_file_perms;
|
2020-06-25 12:18:07 +02:00
|
|
|
allow vendor_modprobe kmsg_device:chr_file w_file_perms;
|
2017-11-09 23:51:26 +01:00
|
|
|
allow vendor_modprobe self:global_capability_class_set sys_module;
|
2017-06-03 01:09:26 +02:00
|
|
|
allow vendor_modprobe kernel:key search;
|
|
|
|
|
|
|
|
allow vendor_modprobe { vendor_file }:system module_load;
|
|
|
|
r_dir_file(vendor_modprobe, { vendor_file })
|