blob: 61d8901e7d2738f1a6fdcf74b6e81adfd39b330e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
|