2013-05-06 22:24:27 +02:00
|
|
|
# Domain for shell processes spawned by ADB
|
2013-10-23 19:25:53 +02:00
|
|
|
type shell, domain, shelldomain, mlstrustedsubject;
|
2013-09-27 16:38:14 +02:00
|
|
|
type shell_exec, exec_type, file_type;
|
2012-01-04 18:33:27 +01:00
|
|
|
|
2014-01-07 18:47:10 +01:00
|
|
|
# Create and use network sockets.
|
|
|
|
net_domain(shell)
|
|
|
|
|
2012-01-04 18:33:27 +01:00
|
|
|
# Run app_process.
|
2013-10-23 19:25:53 +02:00
|
|
|
# XXX Transition into its own domain?
|
2012-01-04 18:33:27 +01:00
|
|
|
app_domain(shell)
|
2013-12-02 20:18:11 +01:00
|
|
|
|
2014-01-10 00:25:36 +01:00
|
|
|
userdebug_or_eng(`
|
|
|
|
# userdebug/eng shell is also permissive to permit setenforce.
|
|
|
|
permissive shell;
|
|
|
|
')
|
2013-10-29 19:42:39 +01:00
|
|
|
|
2013-10-23 19:25:53 +02:00
|
|
|
# inherits from shelldomain.te
|