Add sepolicy for PCIe link statistics am: 959825045e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/21077117 Change-Id: I8fe31a21df1db5e544818ae2d0e097ad45414af6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3f3b99e045
4 changed files with 12 additions and 0 deletions
|
@ -46,6 +46,7 @@ type sysfs_exynos_bts_stats, sysfs_type, fs_type;
|
||||||
type sysfs_bcl, sysfs_type, fs_type;
|
type sysfs_bcl, sysfs_type, fs_type;
|
||||||
type sysfs_chip_id, sysfs_type, fs_type;
|
type sysfs_chip_id, sysfs_type, fs_type;
|
||||||
type sysfs_touch, sysfs_type, fs_type;
|
type sysfs_touch, sysfs_type, fs_type;
|
||||||
|
type sysfs_exynos_pcie_stats, sysfs_type, fs_type;
|
||||||
type sysfs_bcmdhd, sysfs_type, fs_type;
|
type sysfs_bcmdhd, sysfs_type, fs_type;
|
||||||
type sysfs_wlc, sysfs_type, fs_type;
|
type sysfs_wlc, sysfs_type, fs_type;
|
||||||
type sysfs_chargelevel, sysfs_type, fs_type;
|
type sysfs_chargelevel, sysfs_type, fs_type;
|
||||||
|
|
|
@ -397,6 +397,10 @@ genfscon sysfs /kernel/metrics/temp_residency/temp_residency_all/stats u:obje
|
||||||
genfscon sysfs /kernel/metrics/resume_latency/resume_latency_metrics u:object_r:sysfs_vendor_metrics:s0
|
genfscon sysfs /kernel/metrics/resume_latency/resume_latency_metrics u:object_r:sysfs_vendor_metrics:s0
|
||||||
genfscon sysfs /kernel/metrics/irq/long_irq_metrics u:object_r:sysfs_vendor_metrics:s0
|
genfscon sysfs /kernel/metrics/irq/long_irq_metrics u:object_r:sysfs_vendor_metrics:s0
|
||||||
|
|
||||||
|
# PCIe link
|
||||||
|
genfscon sysfs /devices/platform/14520000.pcie/link_stats u:object_r:sysfs_exynos_pcie_stats:s0
|
||||||
|
genfscon sysfs /devices/platform/11920000.pcie/link_stats u:object_r:sysfs_exynos_pcie_stats:s0
|
||||||
|
|
||||||
# Camera
|
# Camera
|
||||||
genfscon sysfs /devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq u:object_r:sysfs_camera:s0
|
genfscon sysfs /devices/platform/17000030.devfreq_intcam/devfreq/17000030.devfreq_intcam/min_freq u:object_r:sysfs_camera:s0
|
||||||
genfscon sysfs /devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/max_freq u:object_r:sysfs_camera:s0
|
genfscon sysfs /devices/platform/17000060.devfreq_tnr/devfreq/17000060.devfreq_tnr/max_freq u:object_r:sysfs_camera:s0
|
||||||
|
|
|
@ -25,6 +25,9 @@ allow hal_dumpstate_default sysfs_wlc:file r_file_perms;
|
||||||
allow hal_dumpstate_default sysfs_exynos_bts:dir r_dir_perms;
|
allow hal_dumpstate_default sysfs_exynos_bts:dir r_dir_perms;
|
||||||
allow hal_dumpstate_default sysfs_exynos_bts_stats:file r_file_perms;
|
allow hal_dumpstate_default sysfs_exynos_bts_stats:file r_file_perms;
|
||||||
|
|
||||||
|
allow hal_dumpstate_default sysfs_exynos_pcie_stats:dir r_dir_perms;
|
||||||
|
allow hal_dumpstate_default sysfs_exynos_pcie_stats:file r_file_perms;
|
||||||
|
|
||||||
allow hal_dumpstate_default sysfs_aoc:dir r_dir_perms;
|
allow hal_dumpstate_default sysfs_aoc:dir r_dir_perms;
|
||||||
allow hal_dumpstate_default sysfs_aoc_dumpstate:file r_file_perms;
|
allow hal_dumpstate_default sysfs_aoc_dumpstate:file r_file_perms;
|
||||||
|
|
||||||
|
|
|
@ -36,3 +36,7 @@ r_dir_file(pixelstats_vendor, sysfs_vendor_metrics)
|
||||||
# BCL
|
# BCL
|
||||||
allow pixelstats_vendor sysfs_bcl:dir search;
|
allow pixelstats_vendor sysfs_bcl:dir search;
|
||||||
allow pixelstats_vendor sysfs_bcl:file r_file_perms;
|
allow pixelstats_vendor sysfs_bcl:file r_file_perms;
|
||||||
|
|
||||||
|
# PCIe statistics
|
||||||
|
allow pixelstats_vendor sysfs_exynos_pcie_stats:dir search;
|
||||||
|
allow pixelstats_vendor sysfs_exynos_pcie_stats:file rw_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue