From: "Serge E. Hallyn" <serue@us.ibm.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH -mm] fs.h: ifdef security fields
Date: Sat, 5 Aug 2006 23:25:49 -0500 [thread overview]
Message-ID: <20060806042549.GA3999@sergelap.austin.ibm.com> (raw)
In-Reply-To: <20060806023806.GA13480@martell.zuzino.mipt.ru>
Quoting Alexey Dobriyan (adobriyan@gmail.com):
> [BSD security levels are deleted in -mm, assuming this below]
>
> The only user of i_security, f_security, s_security fields is SELinux,
> so ifdef them with CONFIG_SECURITY_SELINUX. Following Stephen Smalley's
The SLIM security module, which is trying to get upstream, uses at least
i_security and f_security.
The Argus module supposedly being submitted "soon" which is used in
their LSPP product, surely must use them all.
Maybe you still want to make these CONFIG_SECURITY_SELINUX until the
other modules are upstreamed, but I just wanted to make sure you knew
other modules, trying to get upstream, are using them.
Personally I'd say these are a core part of the LSM framework, and if
you don't want LSM, compile it out. But since I realize that using only
capabilities must be a pretty common case, how about just adding a
config option CONFIG_SECURITY_OBJFIELDS, which is auto-enabled with
SELINUX and default off, which hides these fields instead?
Patch should be trivial, and I can aim to send one tomorrow.
-serge
next prev parent reply other threads:[~2006-08-06 4:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-06 2:38 Alexey Dobriyan
2006-08-06 4:25 ` Serge E. Hallyn [this message]
2006-08-06 5:23 ` Alexey Dobriyan
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=20060806042549.GA3999@sergelap.austin.ibm.com \
--to=serue@us.ibm.com \
--cc=adobriyan@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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®