device_google_gs101/whitechapel/vendor/google/insmod-sh.te
Adam Shih c08f9cf882 move insert module script sepolicy to gs-common
Bug: 243763292
Test: boot to home with no relevant SELinux error
Change-Id: I52fe6631b3ec806a5624375457874d9248927b00
2022-09-06 10:40:01 +08:00

11 lines
292 B
Text

allow insmod-sh sysfs_leds:dir r_dir_perms;
allow insmod-sh self:capability sys_nice;
allow insmod-sh kernel:process setsched;
userdebug_or_eng(`
allow insmod-sh vendor_regmap_debugfs:dir search;
')
dontaudit insmod-sh proc_cmdline:file r_file_perms;
dontaudit insmod-sh self:key write;