diff options
Diffstat (limited to 'sepolicy/tiny_swapon.te')
| -rw-r--r-- | sepolicy/tiny_swapon.te | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sepolicy/tiny_swapon.te b/sepolicy/tiny_swapon.te new file mode 100644 index 0000000..61d8901 --- /dev/null +++ b/sepolicy/tiny_swapon.te @@ -0,0 +1,29 @@ +# ============================================== +# Policy File of /system/bin/tiny_swapon Executable File + + +# ============================================== +# Type Declaration +# ============================================== + +type tiny_swapon_exec , exec_type, file_type; +type tiny_swapon ,domain; + +# ============================================== +# Android Policy Rule +# ============================================== + +# ============================================== +# NSA Policy Rule +# ============================================== + +# ============================================== +# MTK Policy Rule +# ============================================== + +# Date : WK14.34 +# Operation : Migration +# Purpose : Add new swap areas +init_daemon_domain(tiny_swapon) +allow tiny_swapon zram0_device:blk_file { getattr read write open ioctl }; +allow tiny_swapon enableswap:fd use; |
