android_device_xiaomi_sdm66.../sepolicy/vendor/file.te
Mimi Wu d593cf85dd sdm660-common: sepolicy: Allow kernel to access /data/per_boot/zram_swap
type=1400 audit(1581485243.256:88): avc: denied { read } for comm="loop29" path="/data/per_boot/zram_swap" dev="dm-9" ino=9820 scontext=u:r:kernel:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0

Bug: 147469156
Test: flash full build and find avc errors gone
Change-Id: I48d7684ce3b4ca1ada81011b1cab21007c758ba5
Signed-off-by: Mimi Wu <mimiwu@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00

37 lines
936 B
Text

type ir_dev_file, file_type;
type public_adsprpcd_file, file_type;
type sysfs_fingerprint, fs_type, sysfs_type;
type sysfs_touchpanel, fs_type, sysfs_type;
type sysfs_emmc_host, fs_type, sysfs_type;
type thermal_data_file, file_type, data_file_type;
type sysfs_info, fs_type, sysfs_type;
# DeviceSettings
type sysfs_fpsinfo, sysfs_type, fs_type;
type sysfs_headphonegain, sysfs_type, fs_type;
type sysfs_micgain, sysfs_type, fs_type;
type sysfs_earpiecegain, sysfs_type, fs_type;
# HVDCP
type vendor_sysfs_hvdcp, fs_type, sysfs_type;
# Hall Switch
type hall_dev, sysfs_type, fs_type;
# Fast Charge
type sysfs_fcharge, sysfs_type, fs_type;
# Kcal
type kcal_dev, sysfs_type, fs_type;
# Sockets
type audio_socket, file_type;
# Battery Saver
type sysfs_battery_saver, fs_type, sysfs_type;
# PowerHAL
type proc_sched_energy_aware, proc_type, fs_type;
# Data files
type per_boot_file, file_type, data_file_type, core_data_file_type;