Skip to contentSkip to conversation

add read permission over dev_type to appdomain on android_cts enabled

PATCH New Haiqing Jiang 1 participant 1 message Jul 27, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add read permission over dev_type to appdomain on android_cts enabled

---
 cts.te |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cts.te +1 -1
index 489be1a..ff8a9f0 100644
@@ -20,7 +20,7 @@ allow appdomain file_type:dir r_dir_perms;
 allow appdomain fs_type:dir r_dir_perms;
 allow appdomain dev_type:dir r_dir_perms;
 allow appdomain file_type:dir_file_class_set getattr;
-allow appdomain dev_type:dir_file_class_set getattr;
+allow appdomain dev_type:dir_file_class_set { getattr read };
 allow appdomain fs_type:dir_file_class_set getattr;
 
 # Execute the shell or other system executables.
Signature · 7 lines
1.7.0.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.