xref: /aosp_15_r20/system/extras/boottime_tools/bootio/sepolicy/bootio.te (revision 288bf5226967eb3dac5cce6c939ccc2a7f2b4fe5)
1*288bf522SAndroid Build Coastguard Worker# bootio command
2*288bf522SAndroid Build Coastguard Workertype bootio, domain, coredomain;
3*288bf522SAndroid Build Coastguard Workertype bootio_exec, exec_type, file_type;
4*288bf522SAndroid Build Coastguard Worker
5*288bf522SAndroid Build Coastguard Workerinit_daemon_domain(bootio)
6*288bf522SAndroid Build Coastguard Worker
7*288bf522SAndroid Build Coastguard Worker# Allow persistent storage in /data/misc/bootio.
8*288bf522SAndroid Build Coastguard Worker#allow bootio bootio_data_file:dir rw_dir_perms;
9*288bf522SAndroid Build Coastguard Worker#allow bootio bootio_data_file:file create_file_perms;
10*288bf522SAndroid Build Coastguard Worker
11*288bf522SAndroid Build Coastguard Worker# Read access to pseudo filesystems (for /proc/stats, proc/io/io, etc).
12*288bf522SAndroid Build Coastguard Worker#r_dir_file(bootio, proc)
13