These are the SELinux policies for the sysfs files of the SJTAG kernel interface. The files are in the following directories: /sys/devices/platform/sjtag_ap/interface/ /sys/devices/platform/sjtag_gsa/interface/ Bug: 207571417 Signed-off-by: Peter Csaszar <pcsaszar@google.com> Change-Id: I5ec50d9ff7cd0e08ade7acce21e73751e93a0aff
5 lines
171 B
Text
5 lines
171 B
Text
# Allow access to the SJTAG kernel interface from the shell
|
|
userdebug_or_eng(`
|
|
allow shell sysfs_sjtag:dir r_dir_perms;
|
|
allow shell sysfs_sjtag:file rw_file_perms;
|
|
')
|