mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: sepolicy: Address init.insmod.sh denials
Change-Id: I2b858d17db6b8edf07f34f12f38342ae519056c8 Signed-off-by: Woomymy <woomy@woomy.be> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
3b375ccce4
commit
a4f3c339d3
7
sepolicy/vendor/init_insmod_sh.te
vendored
Normal file
7
sepolicy/vendor/init_insmod_sh.te
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Allow init.insmod.sh to read cmdline
|
||||
allow init_insmod_sh proc_cmdline:file r_file_perms;
|
||||
|
||||
# Allow required capabilities for modprobe
|
||||
allow init_insmod_sh self:capability sys_nice;
|
||||
allow init_insmod_sh kernel:process setsched;
|
||||
|
Loading…
Reference in a new issue