This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hardware_oplus-CherishOS/sepolicy/qti/vendor/fsck.te
sreeshankark 182d42df95 sepolicy: qti: Allow fsck to get attribute from sysfs file
type=1400 audit(0.0:7): avc:  denied  { getattr } for  path="/sys/devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/sda16/partition" dev="sysfs" ino=60454 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
2023-10-27 18:50:38 +05:30

5 lines
144 B
Plaintext

allow fsck self:capability { sys_admin kill };
allow fsck sysfs:file getattr;
dontaudit fsck self:capability { dac_override dac_read_search };