summaryrefslogtreecommitdiff
path: root/sepolicy/sn.te
blob: a71d4914c1811916a62acb640758884c8605d568 (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
30
31
32
33
34
35
36
37
38
# ==============================================
# Policy File of /system/binsn Executable File 


# ==============================================
# Type Declaration
# ==============================================

type sn_exec , exec_type, file_type;
type sn ,domain;

# ==============================================
# Android Policy Rule
# ==============================================

# ==============================================
# NSA Policy Rule
# ==============================================

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

init_daemon_domain(sn)

# Date : WK14.31
# Operation : Migration
# Purpose : for L early bring up
allow sn sdcard_internal:dir search;
allow sn fuse:file { read getattr open };
allow sn sysfs:file write;
#allow sn tmpfs:lnk_file read;
allow sn self:capability { dac_read_search dac_override };
allow sn mnt_user_file:dir search;
allow sn mnt_user_file:lnk_file read;
#allow sn storage_file:dir search;
allow sn storage_file:lnk_file read;