Add sepolicy for sysfs_touch type.
Bug: 263108813 Test: TreeHugger build pass. Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: I337863e7df3195deecc6de0202cded610118bfe0
This commit is contained in:
parent
572f3b63df
commit
ed4ed5c6ea
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…
x
Reference in New Issue
Block a user