Merge "allow modprobe to read /proc/cmdline" into rvc-dev
This commit is contained in:
commit
249b79c680
3 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
type modprobe, domain;
|
type modprobe, domain;
|
||||||
|
|
||||||
allow modprobe proc_modules:file r_file_perms;
|
allow modprobe proc_modules:file r_file_perms;
|
||||||
|
allow modprobe proc_cmdline:file r_file_perms;
|
||||||
allow modprobe self:global_capability_class_set sys_module;
|
allow modprobe self:global_capability_class_set sys_module;
|
||||||
allow modprobe kernel:key search;
|
allow modprobe kernel:key search;
|
||||||
recovery_only(`
|
recovery_only(`
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
type modprobe, domain;
|
type modprobe, domain;
|
||||||
|
|
||||||
allow modprobe proc_modules:file r_file_perms;
|
allow modprobe proc_modules:file r_file_perms;
|
||||||
|
allow modprobe proc_cmdline:file r_file_perms;
|
||||||
allow modprobe self:global_capability_class_set sys_module;
|
allow modprobe self:global_capability_class_set sys_module;
|
||||||
allow modprobe kernel:key search;
|
allow modprobe kernel:key search;
|
||||||
recovery_only(`
|
recovery_only(`
|
||||||
|
|
1
vendor/vendor_modprobe.te
vendored
1
vendor/vendor_modprobe.te
vendored
|
@ -4,6 +4,7 @@ type vendor_modprobe, domain;
|
||||||
domain_trans(init, vendor_toolbox_exec, vendor_modprobe)
|
domain_trans(init, vendor_toolbox_exec, vendor_modprobe)
|
||||||
|
|
||||||
allow vendor_modprobe proc_modules:file r_file_perms;
|
allow vendor_modprobe proc_modules:file r_file_perms;
|
||||||
|
allow vendor_modprobe proc_cmdline:file r_file_perms;
|
||||||
allow vendor_modprobe self:global_capability_class_set sys_module;
|
allow vendor_modprobe self:global_capability_class_set sys_module;
|
||||||
allow vendor_modprobe kernel:key search;
|
allow vendor_modprobe kernel:key search;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue