From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: Ivan Gyurdiev <ivg2@cornell.edu>, SELinux@tycho.nsa.gov
Subject: Re: Multiple contexts
Date: Wed, 12 Jan 2005 22:41:05 +0000 [thread overview]
Message-ID: <20050112224105.GA11846@lkcl.net> (raw)
In-Reply-To: <1105565236.23136.12.camel@moss-spartans.epoch.ncsc.mil>
On Wed, Jan 12, 2005 at 04:27:16PM -0500, Stephen Smalley wrote:
> On Wed, 2005-01-12 at 13:29, Luke Kenneth Casson Leighton wrote:
> > i don't believe it does - or i am misunderstanding.
> >
> > having two policy files apache.fc and mymodifiedthing.fc which _both_
> > have a file context for the same file / directory, such that the
> > data that ends up in the security.selinux xattr is "apache_filetype_t,
> > "mymodifiedthing_filetype_t" doesn't mean, in my book "policy is in
> > filesystem state".
> >
> > ... does it?
> >
> > *lost*.
>
> The file_contexts configuration is not part of the kernel policy. It is
> only used by userspace to set the contexts for files upon installation,
> to recheck the state of the filesystem against the initial labeling
> state, or to restore portions of the filesystem to the initial labeling
> state.
>
> If you change the SELinux module to support a list of file contexts
> within the security.selinux attribute, and change its policy engine to
> allow access if any access is allowed to any one of those contexts, then
> the only way to truly identify what information flow is possible in the
> system is by checking the current security.selinux attributes of all
> files in the system for such combinations and collapsing them to a
> single security equivalence class for analysis purposes.
ah, yuk.
... so, ultimately, it would be better to have some m4-macro-based
tools that do that, munging to an intermediate step (which is same
as what we have now) and then munging _that_ to a binary policy
file (exactly as is now).
l.
--
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:[~2005-01-12 22:30 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-10 20:50 Multiple contexts Ivan Gyurdiev
2005-01-10 23:23 ` Luke Kenneth Casson Leighton
2005-01-11 1:51 ` Luke Kenneth Casson Leighton
2005-01-11 20:09 ` Stephen Smalley
2005-01-11 21:48 ` Luke Kenneth Casson Leighton
2005-01-12 14:00 ` Stephen Smalley
2005-01-12 14:44 ` Luke Kenneth Casson Leighton
2005-01-12 15:00 ` Stephen Smalley
2005-01-12 18:18 ` Luke Kenneth Casson Leighton
2005-01-12 18:03 ` Stephen Smalley
2005-01-12 18:29 ` Luke Kenneth Casson Leighton
2005-01-12 21:27 ` Stephen Smalley
2005-01-12 22:41 ` Luke Kenneth Casson Leighton [this message]
2005-01-13 15:55 ` Stephen Smalley
2005-01-12 23:01 ` Luke Kenneth Casson Leighton
2005-01-13 16:03 ` Stephen Smalley
2005-01-13 16:44 ` Stephen Smalley
2005-01-13 17:17 ` Luke Kenneth Casson Leighton
2005-01-13 17:08 ` Stephen Smalley
2005-01-12 19:07 ` Luke Kenneth Casson Leighton
2005-01-11 15:18 ` Stephen Smalley
2005-01-11 20:08 ` Stephen Smalley
2005-01-12 20:11 ` Ivan Gyurdiev
2005-01-12 21:40 ` Stephen Bennett
2005-01-12 21:48 ` Stephen Smalley
2005-01-12 23:07 ` Luke Kenneth Casson Leighton
2005-01-13 16:06 ` Stephen Smalley
2005-01-12 21:47 ` Stephen Smalley
2005-01-12 23:08 ` Ivan Gyurdiev
2005-01-13 16:10 ` Stephen Smalley
2005-01-13 18:37 ` Luke Kenneth Casson Leighton
2005-01-13 23:17 ` Thomas Bleher
2005-01-14 7:07 ` Ivan Gyurdiev
2005-01-20 20:52 ` Ivan Gyurdiev
2005-01-12 23:32 ` Luke Kenneth Casson Leighton
2005-01-13 13:56 ` James Carter
2005-01-13 16:46 ` Luke Kenneth Casson Leighton
2005-01-13 16:16 ` Stephen Smalley
2005-01-13 16:48 ` Luke Kenneth Casson Leighton
2005-01-13 16:37 ` Stephen Smalley
2005-01-13 17:19 ` Luke Kenneth Casson Leighton
2005-01-13 17:10 ` 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=20050112224105.GA11846@lkcl.net \
--to=lkcl@lkcl.net \
--cc=SELinux@tycho.nsa.gov \
--cc=ivg2@cornell.edu \
--cc=sds@epoch.ncsc.mil \
/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.