blob: 6b9f99602cf8d6d2c828dfe2aecaaafaf4ece75a [file] [log] [blame]
# Domain for shell processes spawned by ADB
type shell, domain, shelldomain, mlstrustedsubject;
type shell_exec, exec_type, file_type;
# Create and use network sockets.
net_domain(shell)
# Run app_process.
# XXX Transition into its own domain?
app_domain(shell)
userdebug_or_eng(`
# userdebug/eng shell is also permissive to permit setenforce.
permissive shell;
')
# inherits from shelldomain.te