blob: 103fa6db4561d5a5064fbfa2ae142775c4591df1 (
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_mkswap Executable File
# ==============================================
# Type Declaration
# ==============================================
type tiny_mkswap_exec , exec_type, file_type;
type tiny_mkswap ,domain;
# ==============================================
# Android Policy Rule
# ==============================================
# ==============================================
# NSA Policy Rule
# ==============================================
# ==============================================
# MTK Policy Rule
# ==============================================
# Date : WK14.34
# Operation : Migration
# Purpose : Add new swap areas
init_daemon_domain(tiny_mkswap)
allow tiny_mkswap zram0_device:blk_file { getattr read write open ioctl };
allow tiny_mkswap enableswap:fd use;
|