From: Darrel Goeddel <dgoeddel@TrustedCS.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Valdis.Kletnieks@vt.edu, James Morris <jmorris@namei.org>,
Karl MacMillan <kmacmillan@mentalrootkit.com>,
"'SELinux List'" <SELinux@tycho.nsa.gov>,
Eric Paris <eparis@redhat.com>,
Joshua Brindle <jbrindle@tresys.com>
Subject: Re: [PATCH 0/2] new and improved range_transition statements
Date: Fri, 04 Aug 2006 12:24:20 -0500 [thread overview]
Message-ID: <44D382C4.9070705@trustedcs.com> (raw)
In-Reply-To: <1154697573.3919.18.camel@moss-spartans.epoch.ncsc.mil>
Stephen Smalley wrote:
> On Mon, 2006-07-31 at 11:10 -0400, Valdis.Kletnieks@vt.edu wrote:
>
>>On Mon, 31 Jul 2006 10:43:15 EDT, Stephen Smalley said:
>>
>>
>>>I agree that it is too late for 2.6.18, but just to clarify - the kernel
>>>patch preserves backward compatibility for older binary policy
>>>formats.
>>>
>>>As far as compatibility is concerned, FC4 will need some kind of
>>>userland update when it updates to a kernel with the new policy format;
>>>otherwise, init will give up when it cannot find policy.21 or policy.20
>>>(older sysvinit selinux patch only tried n and (n-1)), and the policy in
>>>FC4 was version 19.
>>
>>Given that Andrew Morton is currently having a cow over the fact that
>>2.6.18-rc3 includes a change that breaks the udev that shipped with FC3,
>>we might want to make sure we have all our ducks lined up....
>>
>>(To be fair, the udev change is one that breaks any udev more than 10 months
>>or so old...)
>
>
> After a bit of discussion (see bug 201242 in the redhat bugzilla) about
> updating FC4 userland, it seems that we should try to address this
> compatibility concern for legacy userland in the kernel. We could first
> upstream the patch below, then re-base the range_transition kernel patch
> against it. This patch makes the maximum policy version a kernel config
> option so that it can be adjusted down to accommodate legacy userland,
> with instructions and examples in the help text of the config option on
> how to determine what value to use. The range_transition kernel patch
> would then adjust the "range" and "default" attributes of this new
> config option to reflect the new version support, while users could
> still build kernels to an older version. Thoughts?
This patch will certainly provide a solution to the problem. However, I wonder
if most people that would have had the problem in the first place (those with
old userspace components) will still run into the problem for their first kernel
build because they did not know alter the config for the situation. So we'll
likely need to advertise this change accordingly ;). At least it will be an
easier fix than updating the SELinux userland components and init. I can rebase
the range_transition patch when this goes upstream (of course there is not much
to it...)
--
Darrel
--
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-08-04 17:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 15:11 [PATCH 0/2] new and improved range_transition statements Darrel Goeddel
2006-07-31 13:07 ` Karl MacMillan
2006-07-31 13:56 ` Stephen Smalley
2006-07-31 13:58 ` Karl MacMillan
2006-07-31 14:01 ` Joshua Brindle
2006-07-31 14:13 ` Karl MacMillan
2006-07-31 14:23 ` Joshua Brindle
2006-07-31 14:55 ` Karl MacMillan
2006-07-31 14:30 ` Stephen Smalley
2006-07-31 14:51 ` Karl MacMillan
2006-07-31 14:54 ` Darrel Goeddel
2006-07-31 14:28 ` Valdis.Kletnieks
2006-07-31 14:43 ` Stephen Smalley
2006-07-31 15:10 ` Valdis.Kletnieks
2006-08-04 13:19 ` Stephen Smalley
2006-08-04 14:47 ` James Morris
2006-08-04 17:24 ` Darrel Goeddel [this message]
2006-08-07 12:04 ` Joshua Brindle
2006-08-07 14:19 ` Stephen Smalley
2006-08-07 14:32 ` Joshua Brindle
2006-08-07 14:57 ` Stephen Smalley
2006-08-07 14:34 ` Christopher J. PeBenito
2006-08-07 19:17 ` 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=44D382C4.9070705@trustedcs.com \
--to=dgoeddel@trustedcs.com \
--cc=SELinux@tycho.nsa.gov \
--cc=Valdis.Kletnieks@vt.edu \
--cc=eparis@redhat.com \
--cc=jbrindle@tresys.com \
--cc=jmorris@namei.org \
--cc=kmacmillan@mentalrootkit.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 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.