xref: /aosp_15_r20/system/sepolicy/prebuilts/api/30.0/private/kernel.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1typeattribute kernel coredomain;
2
3domain_auto_trans(kernel, init_exec, init)
4
5# Allow the kernel to read otapreopt_chroot's file descriptors and files under
6# /postinstall, as it uses apexd logic to mount APEX packages in /postinstall/apex.
7allow kernel otapreopt_chroot:fd use;
8allow kernel postinstall_file:file read;
9