From: paul.moore@hp.com
To: selinux@tycho.nsa.gov
Cc: cpebenito@tresys.com
Subject: [PATCH 4/4] Policy patches to add MLS read/write-to-clearance access to inetd_t
Date: Thu, 14 Dec 2006 14:24:18 -0500 [thread overview]
Message-ID: <20061214192905.606250000@hp.com> (raw)
In-Reply-To: 20061214192414.551708000@hp.com
From: Paul Moore <paul.moore@hp.com>
There is a strong desire in the MLS/LSPP space to use xinetd and labeled
networking to start child daemons with the MLS label of the incoming
connection. This patch give the inetd_t domain the ability to read and write
to sockets with MLS labels up to and including it's clearance MLS label.
Signed-of-by: Paul Moore <paul.moore@hp.com>
---
policy/modules/services/inetd.te | 3 +++
1 files changed, 3 insertions(+)
Index: refpolicy/policy/modules/services/inetd.te
===================================================================
--- refpolicy.orig/policy/modules/services/inetd.te
+++ refpolicy/policy/modules/services/inetd.te
@@ -71,6 +71,9 @@ corenet_sendrecv_all_client_packets(inet
ifdef(`enable_mls',`
corenet_tcp_recv_netlabel(inetd_t)
corenet_udp_recv_netlabel(inetd_t)
+
+ mls_socket_read_to_clearance(inetd_t)
+ mls_socket_write_to_clearance(inetd_t)
')
# listen on service ports:
--
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 prev parent reply other threads:[~2006-12-14 19:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-14 19:24 [PATCH 0/4] NetLabel and MLS fixes for Reference Policy paul.moore
2006-12-14 19:24 ` [PATCH 1/4] Policy patches to add NetLabel to support to various domains paul.moore
2006-12-14 19:24 ` [PATCH 2/4] Policy patches to add NetLabel support for Raw IP sockets paul.moore
2006-12-14 19:24 ` [PATCH 3/4] Policy patches to add a MLS socket write-to-clearance interface paul.moore
2006-12-14 19:24 ` paul.moore [this message]
2006-12-20 16:13 ` [PATCH 0/4] NetLabel and MLS fixes for Reference Policy Paul Moore
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=20061214192905.606250000@hp.com \
--to=paul.moore@hp.com \
--cc=cpebenito@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.