xref: /aosp_15_r20/system/sepolicy/prebuilts/api/29.0/public/modprobe.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Workertype modprobe, domain;
2*e4a36f41SAndroid Build Coastguard Worker
3*e4a36f41SAndroid Build Coastguard Workerallow modprobe proc_modules:file r_file_perms;
4*e4a36f41SAndroid Build Coastguard Workerallow modprobe self:global_capability_class_set sys_module;
5*e4a36f41SAndroid Build Coastguard Workerallow modprobe kernel:key search;
6*e4a36f41SAndroid Build Coastguard Workerrecovery_only(`
7*e4a36f41SAndroid Build Coastguard Worker  allow modprobe rootfs:system module_load;
8*e4a36f41SAndroid Build Coastguard Worker  allow modprobe rootfs:file r_file_perms;
9*e4a36f41SAndroid Build Coastguard Worker')
10