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:
Woomymy 2023-07-14 18:08:27 +00:00 committed by Shirayuki39
parent 3b375ccce4
commit a4f3c339d3

7
sepolicy/vendor/init_insmod_sh.te vendored Normal file
View 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;