aboutsummaryrefslogtreecommitdiffstats
path: root/shell.te
diff options
context:
space:
mode:
authorGeremy Condra <gcondra@google.com>2013-03-22 21:41:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-03-22 21:41:37 +0000
commitba84bf1dec64d745b6efc516799b2c722a672cd9 (patch)
treeab9521bf725fab09caab042b0b1df679e52621ce /shell.te
parent8a814a7604afd20f12c9ff3dcdae7d10e9b75f84 (diff)
downloadandroid_external_sepolicy-ba84bf1dec64d745b6efc516799b2c722a672cd9.tar.gz
android_external_sepolicy-ba84bf1dec64d745b6efc516799b2c722a672cd9.tar.bz2
android_external_sepolicy-ba84bf1dec64d745b6efc516799b2c722a672cd9.zip
Revert "Various minor policy fixes based on CTS."
This reverts commit 8a814a7604afd20f12c9ff3dcdae7d10e9b75f84 Change-Id: Id1497cc42d07ee7ff2ca44ae4042fc9f2efc9aad
Diffstat (limited to 'shell.te')
-rw-r--r--shell.te3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell.te b/shell.te
index 2f1dd43..bf9ee44 100644
--- a/shell.te
+++ b/shell.te
@@ -5,7 +5,6 @@ allow shell rootfs:dir r_dir_perms;
allow shell devpts:chr_file rw_file_perms;
allow shell tty_device:chr_file rw_file_perms;
allow shell console_device:chr_file rw_file_perms;
-allow shell input_device:chr_file rw_file_perms;
allow shell system_file:file x_file_perms;
allow shell shell_exec:file rx_file_perms;
allow shell zygote_exec:file rx_file_perms;
@@ -18,7 +17,7 @@ allow shell sdcard_type:dir rw_dir_perms;
allow shell sdcard_type:file create_file_perms;
r_dir_file(shell, apk_data_file)
-allow shell dalvikcache_data_file:file { write setattr };
+allow shell dalvikcache_data_file:file write;
# Run logcat.
allow shell log_device:chr_file r_file_perms;