diff options
author | Stephen Smalley <sds@tycho.nsa.gov> | 2013-03-12 10:00:18 -0400 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2013-03-22 15:27:02 -0400 |
commit | 8a814a7604afd20f12c9ff3dcdae7d10e9b75f84 (patch) | |
tree | 94bec3cfc50e0cc3402a4066c9ac63430cf18c9a /shell.te | |
parent | c195ec31485766d065d3e3101268d5ce727ff4c0 (diff) | |
download | android_external_sepolicy-8a814a7604afd20f12c9ff3dcdae7d10e9b75f84.tar.gz android_external_sepolicy-8a814a7604afd20f12c9ff3dcdae7d10e9b75f84.tar.bz2 android_external_sepolicy-8a814a7604afd20f12c9ff3dcdae7d10e9b75f84.zip |
Various minor policy fixes based on CTS.
Change-Id: I5a3584b6cc5eda2b7d82e85452f9fe457877f1d1
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'shell.te')
-rw-r--r-- | shell.te | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,7 @@ 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; @@ -17,7 +18,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; +allow shell dalvikcache_data_file:file { write setattr }; # Run logcat. allow shell log_device:chr_file r_file_perms; |