android_system_sepolicy/shell.te

21 lines
483 B
Plaintext
Raw Normal View History

# Domain for shell processes spawned by ADB or console service.
type shell, domain, shelldomain, mlstrustedsubject;
type shell_exec, exec_type, file_type;
2012-01-04 09:33:27 -08:00
# Create and use network sockets.
net_domain(shell)
2012-01-04 09:33:27 -08:00
# Run app_process.
# XXX Transition into its own domain?
2012-01-04 09:33:27 -08:00
app_domain(shell)
# logd access
read_logd(shell)
control_logd(shell)
# read files in /data/anr
allow shell anr_data_file:dir r_dir_perms;
allow shell anr_data_file:file r_file_perms;
# inherits from shelldomain.te