Skip to contentSkip to conversation

flask: add the attach_queue permission to the tun_socket object class

PATCH New Paul Moore 2 participants 2 messages Jan 22, 2013

lore
Share & tools
lore

Paul Moore

author
#0 lore raw

PATCH 1/1 flask: add the attach_queue permission to the tun_socket object class

New permission added to Linux 3.8 via the new multiqueue TUN device.

---
 policy/flask/access_vectors |    3 +++
 1 file changed, 3 insertions(+)
policy/flask/access_vectors +3 -0
index 28802c5..a94b169 100644
@@ -827,6 +827,9 @@ class kernel_service
 
 class tun_socket
 inherits socket
+{
+	attach_queue
+}
 
 class x_pointer
 inherits x_device
#1 lore raw

PATCH 1/1 flask: add the attach_queue permission to the tun_socket object class

Quoted 12 lines · Paul Moore

New permission added to Linux 3.8 via the new multiqueue TUN device.

---
 policy/flask/access_vectors |    3 +++
 1 file changed, 3 insertions(+)
policy/flask/access_vectors +0 -0
index 28802c5..a94b169 100644

policy/flask/access_vectors class kernel_service · line 835

Quoted 9 lines
policy/flask/access_vectors +3 -0
@@ -827,6 +827,9 @@ class kernel_service
 
 class tun_socket
 inherits socket
+{
+	attach_queue
+}
 
 class x_pointer
 inherits x_device

Merged.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com