Skip to contentSkip to conversation

Untrusted_app gets route information

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Untrusted_app gets route information

---
 app.te |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
app.te +2 -0
index 8b1aa53..139652f 100644
@@ -102,6 +102,8 @@ allow untrusted_app node_type:{ tcp_socket udp_socket } node_bind;
 allow untrusted_app port_type:udp_socket name_bind;
 allow untrusted_app port_type:tcp_socket name_bind;
 unix_socket_connect(untrusted_app, dnsproxyd, netd)
+# Get route information.
+allow untrusted_app self:netlink_route_socket { create bind read nlmsg_read };
 }
 # Bluetooth access.
 bool app_bluetooth false;
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.