platform_system_sepolicy/shell.te

18 lines
404 B
Text
Raw Normal View History

# Domain for shell processes spawned by ADB
type shell, domain, shelldomain, mlstrustedsubject;
type shell_exec, exec_type, file_type;
2012-01-04 18:33:27 +01:00
# Create and use network sockets.
net_domain(shell)
2012-01-04 18:33:27 +01:00
# Run app_process.
# XXX Transition into its own domain?
2012-01-04 18:33:27 +01:00
app_domain(shell)
userdebug_or_eng(`
# userdebug/eng shell is also permissive to permit setenforce.
permissive shell;
')
# inherits from shelldomain.te