universal7870: import Pie sepolicies

This commit is contained in:
Astrako 2020-01-28 00:06:11 +01:00 committed by Alejandro
parent 734b50ffaa
commit 221b221b8a
41 changed files with 583 additions and 0 deletions

6
sepolicy/toolbox.te Normal file
View file

@ -0,0 +1,6 @@
allow toolbox block_device:dir { add_name write };
allow toolbox block_device:lnk_file create;
allow toolbox emmcblk_device:blk_file setattr;
allow toolbox self:capability { chown fowner fsetid };
allow toolbox sysfs:file getattr;
allow toolbox sysfs_devices_system_cpu:file setattr;