mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-06 16:28:06 -04:00
universal7870: import sepolicy from 7580-common
thanks to @danwood76
This commit is contained in:
parent
9ce97a0bfb
commit
0cfeb0ec4f
61 changed files with 507 additions and 425 deletions
|
@ -1,11 +1,14 @@
|
|||
# /dev/block/mmcblk0p[0-9]
|
||||
allow ueventd emmcblk_device:blk_file { ioctl read write create getattr setattr lock append unlink open };
|
||||
allow ueventd emmcblk_device:blk_file { relabelfrom relabelto create setattr unlink rw_file_perms };
|
||||
|
||||
# /sys/devices/virtual/misc/multipdp/uevent
|
||||
allow ueventd sysfs_multipdp:file rw_file_perms;
|
||||
|
||||
allow ueventd emmcblk_device:blk_file { relabelfrom relabelto create setattr unlink };
|
||||
|
||||
# read/chown camera firmware
|
||||
allow ueventd sysfs_camera:file { relabelto getattr rw_file_perms };
|
||||
allow ueventd sysfs_camera:file { relabelto rw_file_perms };
|
||||
allow ueventd sysfs_camera:filesystem associate;
|
||||
|
||||
allow ueventd sysfs_usb_supply:file w_file_perms;
|
||||
|
||||
# Allow access to /proc/device-tree nodes
|
||||
r_dir_file(ueventd, proc_dt_firmware)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue