Skip to contentSkip to conversation

mediaserver and system require abstract socket connnection

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mediaserver and system require abstract socket connnection

---
 mediaserver.te |    2 ++
 system.te      |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
mediaserver.te +2 -0
index 39618a5..1b97eed 100644
@@ -39,3 +39,5 @@ allow mediaserver camera_calibration_file:file r_file_perms;
 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid
 allow mediaserver qtaguid_proc:file rw_file_perms;
 allow mediaserver qtaguid_device:chr_file r_file_perms;
+# Allow abstract socket connection
+allow mediaserver rild:unix_stream_socket connectto;
system.te +2 -0
index bfbc35a..0b16246 100644
@@ -199,3 +199,5 @@ allow system gps_control:file rw_file_perms;
 
 # system Read/Write udp_socket of untrusted_app
 allow system appdomain:udp_socket { read write };
+# Allow abstract socket connection
+allow system rild:unix_stream_socket connectto;
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.