Merge "Add sepolicy for sysfs_touch type."
This commit is contained in:
commit
ca14af53f7
3 changed files with 4 additions and 0 deletions
1
touch/nvt/nvt.mk
Normal file
1
touch/nvt/nvt.mk
Normal file
|
@ -0,0 +1 @@
|
|||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/touch/nvt/sepolicy
|
1
touch/nvt/sepolicy/file.te
Normal file
1
touch/nvt/sepolicy/file.te
Normal file
|
@ -0,0 +1 @@
|
|||
type sysfs_touch, sysfs_type, fs_type;
|
2
touch/nvt/sepolicy/system_server.te
Normal file
2
touch/nvt/sepolicy/system_server.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow system_server sysfs_touch:dir r_dir_perms;
|
||||
allow system_server sysfs_touch:file r_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue