Skip to contentSkip to conversation

PATCH In review Haiqing Jiang 2 participants 3 messages Jul 23, 2012 – Jul 24, 2012 SELinux security module

lore
Share & tools
lore
#0 lore raw

[PATCH] external/sepolicy: system r/w udp_socket of appdomain
According to Stephen's comments, I extend the object from untrusted_app to appdomain.

--
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.

#1 lore raw

PATCH 1/1 external/sepolicy: system r/w udp_socket of appdomain

From: hqjiang <[email protected]>

external/sepolicy: allow media_app more permissions on sdcard

external/sepolicy: allow media_app more permissions on sdcard

---
 system.te |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
system.te +3 -0
index a4065cf..bfbc35a 100644
@@ -196,3 +196,6 @@ allow system domain:file r_file_perms;
 # to uart driver and ctrl proc entry
 allow system gps_device:chr_file rw_file_perms;
 allow system gps_control:file rw_file_perms;
+
+# system Read/Write udp_socket of untrusted_app
+allow system appdomain:udp_socket { read write };
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.
#2 lore raw

Re: [PATCH] external/sepolicy: system r/w udp_socket of appdomain

Quoted 5 lines · Haiqing Jiang

From: hqjiang <[email protected]>

external/sepolicy: allow media_app more permissions on sdcard

external/sepolicy: allow media_app more permissions on sdcard

Patch description did not match content. Applied with amended message.

Quoted 15 lines
---
 system.te |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
system.te +3 -0
index a4065cf..bfbc35a 100644
@@ -196,3 +196,6 @@ allow system domain:file r_file_perms;
 # to uart driver and ctrl proc entry
 allow system gps_device:chr_file rw_file_perms;
 allow system gps_control:file rw_file_perms;
+
+# system Read/Write udp_socket of untrusted_app
+allow system appdomain:udp_socket { read write };
Signature · 8 lines
Stephen Smalley
National Security Agency


--
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.