Skip to content

Commit

Permalink
Add sepolicy rules for Xiaomi FOD
Browse files Browse the repository at this point in the history
  • Loading branch information
jgudec committed Aug 18, 2023
1 parent f5e7b14 commit 38bbf3a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sepolicy/xiaomi.te
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
type vendor_sysfs_displayfeature, domain, mlstrustedobject;
allow platform_app vendor_sysfs_displayfeature:dir search;

allow platform_app vendor_sysfs_displayfeature:file write;
allow platform_app vendor_sysfs_displayfeature:file open;
allow platform_app vendor_sysfs_displayfeature:file getattr;

type sysfs_tp_fodstatus, property_type;
allow shell sysfs_tp_fodstatus:file getattr;

allow shell vendor_sysfs_displayfeature:dir search;

0 comments on commit 38bbf3a

Please sign in to comment.