sched: move sysfs to procfs

Modify name from sysfs_vendor_sched to proc_vendor_sched

Test: without avc denial
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ieb829e96ac1db2a1aa28fc416182450d128cac5c
This commit is contained in:
chungkai 2022-03-30 08:07:22 +00:00 committed by Rick Yiu
parent b36cf348d0
commit 2dc6f70afc
2 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ type proc_touch, proc_type, fs_type;
# Vendor sched files
userdebug_or_eng(`
typeattribute sysfs_vendor_sched mlstrustedobject;
typeattribute proc_vendor_sched mlstrustedobject;
')
# SJTAG

View file

@ -14,8 +14,8 @@ userdebug_or_eng(`
get_prop(ssr_detector_app, vendor_aoc_prop)
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_vendor_sched:dir search;
allow ssr_detector_app sysfs_vendor_sched:file rw_file_perms;
allow ssr_detector_app proc_vendor_sched:dir search;
allow ssr_detector_app proc_vendor_sched:file rw_file_perms;
allow ssr_detector_app cgroup:file write;
')