device_xiaomi_sm6150-common/sepolicy/vendor
Jaegeuk Kim 778c3c7f4a sm6150-common: sepolicy: Allow ioctl to zram_swap for performance
This fixes permission denied when setting F2FS_PIN_FILE.

[   46.726131] init: [libfs_mgr]Failed to set pin_file for f2fs: /data/per_boot/zram_swap: Permission denied
[   46.726151] init: [libfs_mgr]Failure of zram backing device file for '/dev/block/zram0'
[   46.726341] type=1400 audit(1601025878.312:17): avc: denied { ioctl } for comm="init" path="/data/per_boot/zram_swap" dev="dm-9" ino=4868 ioctlcmd=0xf50d scontext=u:r:init:s0 tcontext=u:object_r:per_boot_file:s0 tclass=file permissive=0

Bug: 169311165
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I982f70556284ac55d659bae6aff93b84d71e67f0
2021-12-29 09:59:07 +00:00
..
adsprpcd.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00
file_contexts sm6150-common: sepolicy: Add sepolicy for kernel to access /data/per_boot/zram_swap 2021-12-29 09:58:35 +00:00
file.te sm6150-common: sepolicy: Add sepolicy for kernel to access /data/per_boot/zram_swap 2021-12-29 09:58:35 +00:00
genfs_contexts sm6150-common: sepolicy: Label fastrpc adsprpc wakeup nodes 2021-07-14 20:59:14 +02:00
hal_audio_default.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00
hal_bluetooth_default.te davinci: sepolicy: Allow bluetooth HAL to read the mac address 2020-10-10 21:43:31 +02:00
hal_camera_default.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00
hal_fingerprint_default.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00
hal_lineage_livedisplay_qti.te sm6150-common: livedisplay: Add anti flicker support 2021-06-18 18:32:31 +02:00
hal_nfc_default.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00
hal_power_default.te sm6150-common: sepolicy: Allow power HAL to read idle_state node 2021-07-14 21:05:07 +02:00
hal_sensors_default.te davinci: sepolicy: Allow sensors HAL to set persist sensors properties 2020-10-10 21:43:31 +02:00
hwservice_contexts sm6150-common: Transform davinci into common tree 2021-04-25 15:18:14 +02:00
init.te sm6150-common: sepolicy: Allow ioctl to zram_swap for performance 2021-12-29 09:59:07 +00:00
kernel.te sm6150-common: sepolicy: Add sepolicy for kernel to access /data/per_boot/zram_swap 2021-12-29 09:58:35 +00:00
mi_thermald.te davinci: sepolicy: Update mi_thermald property label 2021-04-25 14:49:59 +02:00
priv_app.te davinci: sepolicy: Silence harmless QCOM denials 2020-10-10 21:43:31 +02:00
property_contexts sm6150-common: sepolicy: Address power HAL denials 2021-06-21 23:43:39 +02:00
radio.te davinci: sepolicy: Allow radio to read vendor audio prop 2020-10-10 21:43:31 +02:00
remosaic_daemon.te davinci: sepolicy: Use add_service macro for remosaic_daemon 2020-11-28 18:12:02 +01:00
sensors.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00
system_app.te sm6150-common: parts: Implement doze modes and auto brightness 2021-07-03 21:23:14 +02:00
tee.te davinci: sepolicy: Add fingerprint rules 2020-10-10 21:43:31 +02:00
toolbox.te sm6150-common: sepolicy: Modify sepolicy for toolbox to rm -rf /data/per_boot 2021-12-29 09:59:01 +00:00
touchfeature.te sm6150-common: Set permissions on /dev/xiaomi-touch 2021-07-13 22:13:56 +02:00
uncrypt.te davinci: sepolicy: Fix OTA auto-flashing with encrypted f2fs. 2020-10-10 21:43:31 +02:00
vendor_init.te sm6150-common: Transform davinci into common tree 2021-04-25 15:18:14 +02:00
vendor_qti_init_shell.te sm6150-common: rootdir: Enable PowerHAL hint processing 2021-06-21 23:43:39 +02:00
vndservice_contexts davinci: sepolicy: Add camera rules 2020-10-10 21:43:31 +02:00
wcnss_service.te davinci: sepolicy: Add vendor prefix to avoid naming colision 2020-12-30 02:02:56 +01:00