android_device_tecno_LG8n/sepolicy/vendor/init_insmod_sh.te
Woomymy fe8b176423 LG8n: sepolicy: Address init.insmod.sh denials
Change-Id: I2b858d17db6b8edf07f34f12f38342ae519056c8
Signed-off-by: Woomymy <woomy@woomy.be>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
2024-07-22 00:59:03 +08:00

8 lines
230 B
Plaintext

# 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;