diff --git a/prebuilts/api/30.0/public/modprobe.te b/prebuilts/api/30.0/public/modprobe.te index 119040921..2c7d64b0b 100644 --- a/prebuilts/api/30.0/public/modprobe.te +++ b/prebuilts/api/30.0/public/modprobe.te @@ -1,6 +1,7 @@ type modprobe, domain; 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 kernel:key search; recovery_only(` diff --git a/public/modprobe.te b/public/modprobe.te index 119040921..2c7d64b0b 100644 --- a/public/modprobe.te +++ b/public/modprobe.te @@ -1,6 +1,7 @@ type modprobe, domain; 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 kernel:key search; recovery_only(` diff --git a/vendor/vendor_modprobe.te b/vendor/vendor_modprobe.te index 7689ca5d4..61df9e071 100644 --- a/vendor/vendor_modprobe.te +++ b/vendor/vendor_modprobe.te @@ -4,6 +4,7 @@ type vendor_modprobe, domain; domain_trans(init, vendor_toolbox_exec, vendor_modprobe) 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 kernel:key search;