From: Paul Moore <paul.moore@hp.com>
To: selinux@tycho.nsa.gov
Subject: [PATCH] REFPOL: Add new object classes and permissions for labeled networking
Date: Fri, 21 Dec 2007 14:22:20 -0500 [thread overview]
Message-ID: <20071221192242.533048995@flek.lan> (raw)
This patch reserves a new object class and permissions needed by the labeled
networking changes scheduled for 2.6.25.
Signed-off-by: Paul Moore <paul.moore@hp.com>
---
policy/flask/access_vectors | 10 ++++++++++
policy/flask/security_classes | 3 +++
2 files changed, 13 insertions(+)
Index: refpolicy_svn_repo/policy/flask/access_vectors
===================================================================
--- refpolicy_svn_repo.orig/policy/flask/access_vectors
+++ refpolicy_svn_repo/policy/flask/access_vectors
@@ -201,6 +201,8 @@ class node
enforce_dest
dccp_recv
dccp_send
+ recvfrom
+ sendto
}
class netif
@@ -213,6 +215,8 @@ class netif
rawip_send
dccp_recv
dccp_send
+ ingress
+ egress
}
class netlink_socket
@@ -726,3 +730,9 @@ inherits database
import
export
}
+
+# network peer labels
+class peer
+{
+ recv
+}
Index: refpolicy_svn_repo/policy/flask/security_classes
===================================================================
--- refpolicy_svn_repo.orig/policy/flask/security_classes
+++ refpolicy_svn_repo/policy/flask/security_classes
@@ -106,4 +106,7 @@ class db_column # userspace
class db_tuple # userspace
class db_blob # userspace
+# network peer labels
+class peer
+
# FLASK
--
paul moore
linux security @ hp
--
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.
next reply other threads:[~2007-12-21 19:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-21 19:22 Paul Moore [this message]
2008-01-03 16:10 ` [PATCH] REFPOL: Add new object classes and permissions for labeled networking 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=20071221192242.533048995@flek.lan \
--to=paul.moore@hp.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.