summaryrefslogtreecommitdiff
path: root/sepolicy/tune2fs.te
blob: 88e8d446fb19d3e99bb3fe1a4a3699da6f1e3f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# ==============================================
# Policy File of /system/bin/tune2fs Executable File

# ==============================================
# Type Declaration
# ==============================================
type tune2fs, domain;
type tune2fs_exec, exec_type, file_type;

# ==============================================
# MTK Policy Rule
# ==============================================

# Date : WK15.30
# Operation : Migration
# Purpose : tune /data.
init_daemon_domain(tune2fs)

allow tune2fs userdata_block_device:blk_file rw_file_perms;
allow tune2fs block_device:dir search;