aboutsummaryrefslogtreecommitdiffstats
path: root/shell.te
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2013-09-27 10:38:14 -0400
committerStephen Smalley <sds@tycho.nsa.gov>2013-09-27 10:38:14 -0400
commit0130154985aa5042b9e40c45fe60492e40004761 (patch)
tree3dae67b34cc61951c33fef3b1aae56d97ab40ff3 /shell.te
parent189558f64affb73b554b568db90d62eb7d2a9ada (diff)
downloadandroid_external_sepolicy-0130154985aa5042b9e40c45fe60492e40004761.tar.gz
android_external_sepolicy-0130154985aa5042b9e40c45fe60492e40004761.tar.bz2
android_external_sepolicy-0130154985aa5042b9e40c45fe60492e40004761.zip
Make sure exec_type is assigned to all entrypoint types.
Some file types used as domain entrypoints were missing the exec_type attribute. Add it and add a neverallow rule to keep it that way. Change-Id: I7563f3e03940a27ae40ed4d6bb74181c26148849 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'shell.te')
-rw-r--r--shell.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.te b/shell.te
index 89bc9be..8b51003 100644
--- a/shell.te
+++ b/shell.te
@@ -1,6 +1,6 @@
# Domain for shell processes spawned by ADB
type shell, domain;
-type shell_exec, file_type;
+type shell_exec, exec_type, file_type;
unconfined_domain(shell)
# Run app_process.