shell.te revision cb182aba64ed9e0051e542af4abd289f52ee6b70
1# Domain for shell processes spawned by ADB or console service.
2type shell, domain, shelldomain, mlstrustedsubject;
3type shell_exec, exec_type, file_type;
4
5# Create and use network sockets.
6net_domain(shell)
7
8# Run app_process.
9# XXX Transition into its own domain?
10app_domain(shell)
11
12# logd access
13read_logd(shell)
14control_logd(shell)
15
16# read files in /data/anr
17allow shell anr_data_file:dir r_dir_perms;
18allow shell anr_data_file:file r_file_perms;
19
20# inherits from shelldomain.te
21