xref: /aosp_15_r20/system/sepolicy/prebuilts/api/33.0/private/file.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1*e4a36f41SAndroid Build Coastguard Worker# /proc/config.gz
2*e4a36f41SAndroid Build Coastguard Workertype config_gz, fs_type, proc_type;
3*e4a36f41SAndroid Build Coastguard Worker
4*e4a36f41SAndroid Build Coastguard Worker# /sys/fs/bpf/<dir> for mainline tethering use
5*e4a36f41SAndroid Build Coastguard Worker# TODO: move S+ fs_bpf_tethering here from public/file.te
6*e4a36f41SAndroid Build Coastguard Workertype fs_bpf_net_private, fs_type, bpffs_type;
7*e4a36f41SAndroid Build Coastguard Workertype fs_bpf_net_shared, fs_type, bpffs_type;
8*e4a36f41SAndroid Build Coastguard Workertype fs_bpf_netd_readonly, fs_type, bpffs_type;
9*e4a36f41SAndroid Build Coastguard Workertype fs_bpf_netd_shared, fs_type, bpffs_type;
10*e4a36f41SAndroid Build Coastguard Worker
11*e4a36f41SAndroid Build Coastguard Worker# /data/misc/storaged
12*e4a36f41SAndroid Build Coastguard Workertype storaged_data_file, file_type, data_file_type, core_data_file_type;
13*e4a36f41SAndroid Build Coastguard Worker
14*e4a36f41SAndroid Build Coastguard Worker# /data/misc/wmtrace for wm traces
15*e4a36f41SAndroid Build Coastguard Workertype wm_trace_data_file, file_type, data_file_type, core_data_file_type, mlstrustedobject;
16*e4a36f41SAndroid Build Coastguard Worker
17*e4a36f41SAndroid Build Coastguard Worker# /data/misc/a11ytrace for accessibility traces
18*e4a36f41SAndroid Build Coastguard Workertype accessibility_trace_data_file, file_type, data_file_type, core_data_file_type;
19*e4a36f41SAndroid Build Coastguard Worker
20*e4a36f41SAndroid Build Coastguard Worker# /data/misc/perfetto-traces for perfetto traces
21*e4a36f41SAndroid Build Coastguard Workertype perfetto_traces_data_file, file_type, data_file_type, core_data_file_type;
22*e4a36f41SAndroid Build Coastguard Worker
23*e4a36f41SAndroid Build Coastguard Worker# /data/misc/perfetto-traces/bugreport for perfetto traces for bugreports.
24*e4a36f41SAndroid Build Coastguard Workertype perfetto_traces_bugreport_data_file, file_type, data_file_type, core_data_file_type;
25*e4a36f41SAndroid Build Coastguard Worker
26*e4a36f41SAndroid Build Coastguard Worker# /data/misc/perfetto-configs for perfetto configs
27*e4a36f41SAndroid Build Coastguard Workertype perfetto_configs_data_file, file_type, data_file_type, core_data_file_type;
28*e4a36f41SAndroid Build Coastguard Worker
29*e4a36f41SAndroid Build Coastguard Worker# /data/misc_{ce/de}/<user>/sdksandbox root data directory for sdk sandbox processes
30*e4a36f41SAndroid Build Coastguard Workertype sdk_sandbox_system_data_file, file_type, data_file_type, core_data_file_type;
31*e4a36f41SAndroid Build Coastguard Worker# /data/misc_{ce/de}/<user>/sdksandbox/<app-name>/* subdirectory for sdk sandbox processes
32*e4a36f41SAndroid Build Coastguard Workertype sdk_sandbox_data_file, file_type, data_file_type, core_data_file_type, app_data_file_type;
33*e4a36f41SAndroid Build Coastguard Worker
34*e4a36f41SAndroid Build Coastguard Worker# /sys/kernel/debug/kcov for coverage guided kernel fuzzing in userdebug builds.
35*e4a36f41SAndroid Build Coastguard Workertype debugfs_kcov, fs_type, debugfs_type;
36*e4a36f41SAndroid Build Coastguard Worker
37*e4a36f41SAndroid Build Coastguard Worker# App executable files in /data/data directories
38*e4a36f41SAndroid Build Coastguard Workertype app_exec_data_file, file_type, data_file_type, core_data_file_type;
39*e4a36f41SAndroid Build Coastguard Workertypealias app_exec_data_file alias rs_data_file;
40*e4a36f41SAndroid Build Coastguard Worker
41*e4a36f41SAndroid Build Coastguard Worker# /data/misc_[ce|de]/rollback : Used by installd to store snapshots
42*e4a36f41SAndroid Build Coastguard Worker# of application data.
43*e4a36f41SAndroid Build Coastguard Workertype rollback_data_file, file_type, data_file_type, core_data_file_type;
44*e4a36f41SAndroid Build Coastguard Worker
45*e4a36f41SAndroid Build Coastguard Worker# /data/misc_ce/checkin for checkin apps.
46*e4a36f41SAndroid Build Coastguard Workertype checkin_data_file, file_type, data_file_type, core_data_file_type;
47*e4a36f41SAndroid Build Coastguard Worker
48*e4a36f41SAndroid Build Coastguard Worker# /data/gsi/ota
49*e4a36f41SAndroid Build Coastguard Workertype ota_image_data_file, file_type, data_file_type, core_data_file_type;
50*e4a36f41SAndroid Build Coastguard Worker
51*e4a36f41SAndroid Build Coastguard Worker# /data/gsi_persistent_data
52*e4a36f41SAndroid Build Coastguard Workertype gsi_persistent_data_file, file_type, data_file_type, core_data_file_type;
53*e4a36f41SAndroid Build Coastguard Worker
54*e4a36f41SAndroid Build Coastguard Worker# /data/misc/emergencynumberdb
55*e4a36f41SAndroid Build Coastguard Workertype emergency_data_file, file_type, data_file_type, core_data_file_type;
56*e4a36f41SAndroid Build Coastguard Worker
57*e4a36f41SAndroid Build Coastguard Worker# /data/misc/profcollectd
58*e4a36f41SAndroid Build Coastguard Workertype profcollectd_data_file, file_type, data_file_type, core_data_file_type;
59*e4a36f41SAndroid Build Coastguard Worker
60*e4a36f41SAndroid Build Coastguard Worker# /data/misc/apexdata/com.android.art
61*e4a36f41SAndroid Build Coastguard Workertype apex_art_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
62*e4a36f41SAndroid Build Coastguard Worker
63*e4a36f41SAndroid Build Coastguard Worker# /data/misc/apexdata/com.android.art/staging
64*e4a36f41SAndroid Build Coastguard Workertype apex_art_staging_data_file, file_type, data_file_type, core_data_file_type;
65*e4a36f41SAndroid Build Coastguard Worker
66*e4a36f41SAndroid Build Coastguard Worker# /data/misc/apexdata/com.android.compos
67*e4a36f41SAndroid Build Coastguard Workertype apex_compos_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
68*e4a36f41SAndroid Build Coastguard Worker
69*e4a36f41SAndroid Build Coastguard Worker# legacy labels for various /data/misc[_ce|_de]/*/apexdata directories - retained
70*e4a36f41SAndroid Build Coastguard Worker# for backward compatibility b/217581286
71*e4a36f41SAndroid Build Coastguard Workertype apex_appsearch_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
72*e4a36f41SAndroid Build Coastguard Workertype apex_permission_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
73*e4a36f41SAndroid Build Coastguard Workertype apex_scheduling_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
74*e4a36f41SAndroid Build Coastguard Workertype apex_tethering_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
75*e4a36f41SAndroid Build Coastguard Workertype apex_wifi_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type;
76*e4a36f41SAndroid Build Coastguard Worker
77*e4a36f41SAndroid Build Coastguard Worker# /data/font/files
78*e4a36f41SAndroid Build Coastguard Workertype font_data_file, file_type, data_file_type, core_data_file_type;
79*e4a36f41SAndroid Build Coastguard Worker
80*e4a36f41SAndroid Build Coastguard Worker# /data/misc/dmesgd
81*e4a36f41SAndroid Build Coastguard Workertype dmesgd_data_file, file_type, data_file_type, core_data_file_type;
82*e4a36f41SAndroid Build Coastguard Worker
83*e4a36f41SAndroid Build Coastguard Worker# /data/misc/odrefresh
84*e4a36f41SAndroid Build Coastguard Workertype odrefresh_data_file, file_type, data_file_type, core_data_file_type;
85*e4a36f41SAndroid Build Coastguard Worker
86*e4a36f41SAndroid Build Coastguard Worker# /data/misc/odsign
87*e4a36f41SAndroid Build Coastguard Workertype odsign_data_file, file_type, data_file_type, core_data_file_type;
88*e4a36f41SAndroid Build Coastguard Worker
89*e4a36f41SAndroid Build Coastguard Worker# /data/misc/odsign_metrics
90*e4a36f41SAndroid Build Coastguard Workertype odsign_metrics_file, file_type, data_file_type, core_data_file_type;
91*e4a36f41SAndroid Build Coastguard Worker
92*e4a36f41SAndroid Build Coastguard Worker# /data/misc/virtualizationservice
93*e4a36f41SAndroid Build Coastguard Workertype virtualizationservice_data_file, file_type, data_file_type, core_data_file_type;
94*e4a36f41SAndroid Build Coastguard Worker
95*e4a36f41SAndroid Build Coastguard Worker# /data/system/environ
96*e4a36f41SAndroid Build Coastguard Workertype environ_system_data_file, file_type, data_file_type, core_data_file_type;
97*e4a36f41SAndroid Build Coastguard Worker
98*e4a36f41SAndroid Build Coastguard Worker# /data/bootanim
99*e4a36f41SAndroid Build Coastguard Workertype bootanim_data_file, file_type, data_file_type, core_data_file_type;
100*e4a36f41SAndroid Build Coastguard Worker
101*e4a36f41SAndroid Build Coastguard Worker# /dev/kvm
102*e4a36f41SAndroid Build Coastguard Workertype kvm_device, dev_type;
103*e4a36f41SAndroid Build Coastguard Worker
104*e4a36f41SAndroid Build Coastguard Worker# /apex/com.android.virt/bin/fd_server
105*e4a36f41SAndroid Build Coastguard Workertype fd_server_exec, system_file_type, exec_type, file_type;
106*e4a36f41SAndroid Build Coastguard Worker
107*e4a36f41SAndroid Build Coastguard Worker# /apex/com.android.compos/bin/compsvc
108*e4a36f41SAndroid Build Coastguard Workertype compos_exec, exec_type, file_type, system_file_type;
109*e4a36f41SAndroid Build Coastguard Worker# /apex/com.android.compos/bin/compos_key_helper
110*e4a36f41SAndroid Build Coastguard Workertype compos_key_helper_exec, exec_type, file_type, system_file_type;
111*e4a36f41SAndroid Build Coastguard Worker
112*e4a36f41SAndroid Build Coastguard Worker# /metadata/sepolicy
113*e4a36f41SAndroid Build Coastguard Workertype sepolicy_metadata_file, file_type;
114*e4a36f41SAndroid Build Coastguard Worker
115*e4a36f41SAndroid Build Coastguard Worker# /dev/selinux/test - used to verify that apex sepolicy is loaded and
116*e4a36f41SAndroid Build Coastguard Worker# property labeled.
117*e4a36f41SAndroid Build Coastguard Workertype sepolicy_test_file, file_type;
118*e4a36f41SAndroid Build Coastguard Worker
119*e4a36f41SAndroid Build Coastguard Worker# Filesystem entry for for PRNG seeder socket.  Processes require
120*e4a36f41SAndroid Build Coastguard Worker# write permission on this to connect, and needs to be mlstrustedobject
121*e4a36f41SAndroid Build Coastguard Worker# in to satisfy MLS constraints for trusted domains.
122*e4a36f41SAndroid Build Coastguard Workertype prng_seeder_socket, file_type, coredomain_socket, mlstrustedobject;
123