pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
am: 7a3703432e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010 Change-Id: I4f26f81458ce2205236a945fc8e0a236746a7921
This commit is contained in:
commit
72500dfbe6
2 changed files with 7 additions and 0 deletions
6
whitechapel/vendor/google/file.te
vendored
6
whitechapel/vendor/google/file.te
vendored
|
@ -144,6 +144,9 @@ type sysfs_edgetpu, sysfs_type, fs_type;
|
||||||
|
|
||||||
# Vendor sched files
|
# Vendor sched files
|
||||||
type sysfs_vendor_sched, sysfs_type, fs_type;
|
type sysfs_vendor_sched, sysfs_type, fs_type;
|
||||||
|
userdebug_or_eng(`
|
||||||
|
typeattribute sysfs_vendor_sched mlstrustedobject;
|
||||||
|
')
|
||||||
type proc_vendor_sched, proc_type, fs_type;
|
type proc_vendor_sched, proc_type, fs_type;
|
||||||
|
|
||||||
# GPS
|
# GPS
|
||||||
|
@ -211,3 +214,6 @@ type vendor_wlc_fwupdata_file, vendor_file_type, file_type;
|
||||||
|
|
||||||
# SJTAG
|
# SJTAG
|
||||||
type sysfs_sjtag, fs_type, sysfs_type;
|
type sysfs_sjtag, fs_type, sysfs_type;
|
||||||
|
userdebug_or_eng(`
|
||||||
|
typeattribute sysfs_sjtag mlstrustedobject;
|
||||||
|
')
|
||||||
|
|
1
whitechapel/vendor/google/ssr_detector.te
vendored
1
whitechapel/vendor/google/ssr_detector.te
vendored
|
@ -14,6 +14,7 @@ userdebug_or_eng(`
|
||||||
get_prop(ssr_detector_app, vendor_aoc_prop)
|
get_prop(ssr_detector_app, vendor_aoc_prop)
|
||||||
allow ssr_detector_app sysfs_sjtag:dir r_dir_perms;
|
allow ssr_detector_app sysfs_sjtag:dir r_dir_perms;
|
||||||
allow ssr_detector_app sysfs_sjtag:file rw_file_perms;
|
allow ssr_detector_app sysfs_sjtag:file rw_file_perms;
|
||||||
|
allow ssr_detector_app sysfs_vendor_sched:file rw_file_perms;
|
||||||
')
|
')
|
||||||
|
|
||||||
get_prop(ssr_detector_app, vendor_ssrdump_prop)
|
get_prop(ssr_detector_app, vendor_ssrdump_prop)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue