From: "David S. Miller" <davem@davemloft.net>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: jmorris@redhat.com, linux-kernel@vger.kernel.org,
netdev@oss.sgi.com, matthew@wil.cx
Subject: Re: [PATCH] Fix SELinux for removal of i_sock
Date: Fri, 1 Apr 2005 12:35:20 -0800 [thread overview]
Message-ID: <20050401123520.7532528b.davem@davemloft.net> (raw)
In-Reply-To: <1112385997.14481.192.camel@moss-spartans.epoch.ncsc.mil>
On Fri, 01 Apr 2005 15:06:37 -0500
Stephen Smalley <sds@tycho.nsa.gov> wrote:
> This patch against -bk eliminates the use of i_sock by SELinux as it
> appears to have been removed recently, breaking the build of SELinux in
> -bk. Simply replacing the i_sock test with an S_ISSOCK test would be
> unsafe in the SELinux code, as the latter will also return true for the
> inodes of socket files in the filesystem, not just the actual socket
> objects IIUC. Hence this patch reworks the SELinux code to avoid the
> need to apply such a test in the first place, part of which was
> obsoleted anyway by earlier changes to SELinux. Please apply.
>
> Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
> Signed-off-by: James Morris <jmorris@redhat.com>
Applied, thanks Stephen.
next prev parent reply other threads:[~2005-04-01 20:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-01 20:06 Stephen Smalley
2005-04-01 20:35 ` David S. Miller [this message]
2005-04-04 14:13 ` Stephen Smalley
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=20050401123520.7532528b.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jmorris@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew@wil.cx \
--cc=netdev@oss.sgi.com \
--cc=sds@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®