From: Paul Moore <paul.moore@hp.com>
To: selinux@tycho.nsa.gov
Subject: [RFC PATCH v1 0/6] UNIX domain socket fixes and other cleanups
Date: Mon, 03 May 2010 18:11:15 -0400 [thread overview]
Message-ID: <20100503220455.8177.91177.stgit@flek.lan> (raw)
Hello all,
This patchset grew out of the SELinux UNIX domain socket patch that I
kicked around on this list several weeks ago that fixed a problem where
we weren't always setting a UNIX socket's peer label correctly. This
patchset still includes this fix but it also includes a number of other
improvements. I'm posting these patches as an RFC for two main reasons,
I haven't had a chance to give them the testing I want (they boot and
there are no obvious regressions in light usage) and they are based of
Linus' tree and not security-testing (I will fix that before submission).
However, if you want to give the patches a shot or even just review them
I would appreciate any feedback you care to send along.
For those of you who like to get your patches via git, this patchset can
also be found at the URL below:
* git://git.infradead.org/users/pcmoore/lblnet-2.6_testing
---
Paul Moore (6):
selinux: Update socket's label alongside inode's label
selinux: Set the peer label correctly on connected UNIX domain sockets
selinux: Consolidate sockcreate_sid logic
selinux: Shuffle the sk_security_struct alloc and free routines
selinux: Convert socket related access controls to use socket labels
selinux: Use current_security() when possible
security/selinux/hooks.c | 282 ++++++++++++++++-------------------
security/selinux/include/netlabel.h | 5 -
security/selinux/netlabel.c | 8 +
3 files changed, 139 insertions(+), 156 deletions(-)
--
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:[~2010-05-03 22:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 22:11 Paul Moore [this message]
2010-05-03 22:11 ` [RFC PATCH v1 1/6] selinux: Update socket's label alongside inode's label Paul Moore
2010-05-04 13:03 ` Stephen Smalley
2010-05-04 15:29 ` Paul Moore
2010-05-03 22:11 ` [RFC PATCH v1 2/6] selinux: Set the peer label correctly on connected UNIX domain sockets Paul Moore
2010-05-04 14:05 ` Stephen Smalley
2010-05-04 14:27 ` Eric Paris
2010-05-04 15:34 ` Paul Moore
2010-05-04 19:47 ` Stephen Smalley
2010-05-05 15:46 ` Paul Moore
2010-05-03 22:11 ` [RFC PATCH v1 3/6] selinux: Consolidate sockcreate_sid logic Paul Moore
2010-05-04 13:52 ` Stephen Smalley
2010-05-04 15:31 ` Paul Moore
2010-05-04 19:44 ` Stephen Smalley
2010-05-05 15:48 ` Paul Moore
2010-05-03 22:11 ` [RFC PATCH v1 4/6] selinux: Shuffle the sk_security_struct alloc and free routines Paul Moore
2010-05-03 22:11 ` [RFC PATCH v1 5/6] selinux: Convert socket related access controls to use socket labels Paul Moore
2010-05-04 14:30 ` Eric Paris
2010-05-04 15:38 ` Paul Moore
2010-05-03 22:11 ` [RFC PATCH v1 6/6] selinux: Use current_security() when possible 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=20100503220455.8177.91177.stgit@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.