mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: rootdir: Allow tracing
Also address some selinux denials
This commit is contained in:
parent
56df394666
commit
043d4db5cf
5 changed files with 6 additions and 4 deletions
|
|
@ -301,10 +301,6 @@ on boot
|
|||
chown system system /dev/ttySAC2
|
||||
chmod 0660 /dev/ttySAC2
|
||||
|
||||
# Set up kernel tracing, but disable it by default
|
||||
chmod 0222 /sys/kernel/debug/tracing/trace_marker
|
||||
write /sys/kernel/debug/tracing/tracing_on 0
|
||||
|
||||
# DVFS & Hotplug
|
||||
chown system system /sys/power/cpuhotplug/enabled
|
||||
chown system system /sys/power/cpuhotplug/min_online_cpu
|
||||
|
|
|
|||
1
universal7885-common/sepolicy/vendor/file.te
vendored
1
universal7885-common/sepolicy/vendor/file.te
vendored
|
|
@ -43,6 +43,7 @@ type sysfs_gpu, sysfs_type, r_fs_type, fs_type;
|
|||
type sysfs_mmc, sysfs_type, r_fs_type, fs_type;
|
||||
type sysfs_backlight_writable, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_bt_writable, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_mmc_uevent, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_mmc_queue, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_gps_writable, sysfs_type, rw_fs_type, fs_type;
|
||||
type sysfs_lcd_writable, sysfs_type, rw_fs_type, fs_type;
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ genfscon sysfs /devices/platform/argos u:obje
|
|||
genfscon sysfs /devices/platform/13500000.dwmmc0/mmc_host/mmc0/ u:object_r:sysfs_mmc:s0
|
||||
genfscon sysfs /devices/platform/13500000.dwmmc0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/queue/ u:object_r:sysfs_mmc_queue:s0
|
||||
|
||||
genfscon sysfs /devices/platform/13500000.dwmmc0/mmc_host/mmc0/mmc0:0001/block/mmcblk0/uevent u:object_r:sysfs_mmc_uevent:s0
|
||||
|
||||
genfscon sysfs /devices/virtual/fingerprint/fingerprint u:object_r:sysfs_fingerprint:s0
|
||||
genfscon sysfs /devices/virtual/input u:object_r:sysfs_input:s0
|
||||
genfscon sysfs /devices/virtual/lcd/panel u:object_r:sysfs_lcd_writable:s0
|
||||
|
|
|
|||
|
|
@ -17,3 +17,4 @@ set_prop(vendor_init, persist_data_wda_prop)
|
|||
set_prop(vendor_init, persist_rmnet_prop)
|
||||
get_prop(vendor_init, system_prop)
|
||||
get_prop(vendor_init, vendor_radio_prop)
|
||||
allow vendor_init efs_file:lnk_file read;
|
||||
|
|
|
|||
2
universal7885-common/sepolicy/vendor/vold.te
vendored
2
universal7885-common/sepolicy/vendor/vold.te
vendored
|
|
@ -2,3 +2,5 @@
|
|||
allow vold efs_file:dir r_dir_perms;
|
||||
|
||||
allow vold sysfs_virtual:file write;
|
||||
|
||||
allow vold sysfs_mmc_uevent:file write;
|
||||
|
|
|
|||
Loading…
Reference in a new issue