mm_device_meizu_m2note/sepolicy/tiny_swapon.te

30 lines
871 B
Plaintext

# ==============================================
# 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;