From: Paul Moore <paul.moore@hp.com>
To: selinux@tycho.nsa.gov, refpolicy@oss1.tresys.com
Subject: [RFC PATCH v1 1/2] refpol: Add the "tun_socket" object class flask definitions
Date: Tue, 25 Aug 2009 17:12:32 -0400 [thread overview]
Message-ID: <20090825211232.6250.84117.stgit@flek.lan> (raw)
In-Reply-To: <20090825210647.6250.56266.stgit@flek.lan>
Add the new "tun_socket" class to the flask definitions. The "tun_socket"
object class is used by the new TUN driver hooks which allow policy to control
access to TUN/TAP devices.
---
policy/flask/access_vectors | 2 ++
policy/flask/security_classes | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/policy/flask/access_vectors b/policy/flask/access_vectors
index ef4c063..6292db5 100644
--- a/policy/flask/access_vectors
+++ b/policy/flask/access_vectors
@@ -251,6 +251,8 @@ inherits socket
class unix_dgram_socket
inherits socket
+class tun_socket
+inherits socket
#
# Define the access vector interpretation for process-related objects
diff --git a/policy/flask/security_classes b/policy/flask/security_classes
index 9e1bf1a..2bd1bf6 100644
--- a/policy/flask/security_classes
+++ b/policy/flask/security_classes
@@ -119,4 +119,6 @@ class x_application_data # userspace
# kernel services that need to override task security, e.g. cachefiles
class kernel_service
+class tun_socket
+
# FLASK
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
WARNING: multiple messages have this Message-ID (diff)
From: paul.moore@hp.com (Paul Moore)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [RFC PATCH v1 1/2] refpol: Add the "tun_socket" object class flask definitions
Date: Tue, 25 Aug 2009 17:12:32 -0400 [thread overview]
Message-ID: <20090825211232.6250.84117.stgit@flek.lan> (raw)
In-Reply-To: <20090825210647.6250.56266.stgit@flek.lan>
Add the new "tun_socket" class to the flask definitions. The "tun_socket"
object class is used by the new TUN driver hooks which allow policy to control
access to TUN/TAP devices.
---
policy/flask/access_vectors | 2 ++
policy/flask/security_classes | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/policy/flask/access_vectors b/policy/flask/access_vectors
index ef4c063..6292db5 100644
--- a/policy/flask/access_vectors
+++ b/policy/flask/access_vectors
@@ -251,6 +251,8 @@ inherits socket
class unix_dgram_socket
inherits socket
+class tun_socket
+inherits socket
#
# Define the access vector interpretation for process-related objects
diff --git a/policy/flask/security_classes b/policy/flask/security_classes
index 9e1bf1a..2bd1bf6 100644
--- a/policy/flask/security_classes
+++ b/policy/flask/security_classes
@@ -119,4 +119,6 @@ class x_application_data # userspace
# kernel services that need to override task security, e.g. cachefiles
class kernel_service
+class tun_socket
+
# FLASK
next prev parent reply other threads:[~2009-08-25 21:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 21:12 [RFC PATCH v1 0/2] Policy support for the new TUN hooks Paul Moore
2009-08-25 21:12 ` [refpolicy] " Paul Moore
2009-08-25 21:12 ` Paul Moore [this message]
2009-08-25 21:12 ` [refpolicy] [RFC PATCH v1 1/2] refpol: Add the "tun_socket" object class flask definitions Paul Moore
2009-08-25 21:12 ` [RFC PATCH v1 2/2] refpol: Policy for the new TUN driver access controls Paul Moore
2009-08-25 21:12 ` [refpolicy] " Paul Moore
2009-08-26 12:49 ` Christopher J. PeBenito
2009-08-26 12:49 ` Christopher J. PeBenito
2009-08-26 14:32 ` Paul Moore
2009-08-26 14:32 ` Paul Moore
2009-08-27 13:54 ` Christopher J. PeBenito
2009-08-27 13:54 ` Christopher J. PeBenito
2009-08-27 14:08 ` Paul Moore
2009-08-27 14:08 ` Paul Moore
2009-08-28 12:33 ` Christopher J. PeBenito
2009-08-28 12:33 ` Christopher J. PeBenito
2009-08-28 14:48 ` Paul Moore
2009-08-28 14:48 ` Paul Moore
2009-08-28 15:49 ` Christopher J. PeBenito
2009-08-28 15:49 ` Christopher J. PeBenito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090825211232.6250.84117.stgit@flek.lan \
--to=paul.moore@hp.com \
--cc=refpolicy@oss1.tresys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.