This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_sm7250-common/sepolicy/vendor/file.te
Mimi Wu e8c93af4e7 sm7250-common: sepolicy: Add sepolicy for 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: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:18:57 +05:30

27 lines
865 B
Plaintext

# files
type oem_file, file_type;
type opf_file, file_type;
# procfs
type proc_direct_swappiness, fs_type, proc_type;
type proc_swappiness, fs_type, proc_type;
type proc_touchpanel, fs_type, proc_type;
type proc_watermark_boost_factor, fs_type, proc_type;
# sysfs
type sysfs_dash_charger, fs_type, proc_type, sysfs_type;
type sysfs_dbg, fs_type, sysfs_type;
type sysfs_display_mode, fs_type, sysfs_type;
type sysfs_fod, fs_type, sysfs_type;
type sysfs_fsc, fs_type, sysfs_type;
type sysfs_fuse, fs_type, sysfs_type;
type sysfs_memplus, fs_type, sysfs_type;
type sysfs_project_info, fs_type, sysfs_type;
type sysfs_tpd, fs_type, sysfs_type;
type sysfs_tri_state_key, sysfs_type, fs_type;
type sysfs_vl53l1, fs_type, sysfs_type;
type vendor_sysfs_video_call_on, fs_type, sysfs_type;
# Data files
type per_boot_file, file_type, data_file_type, core_data_file_type;