From: Paul Moore <paul@paul-moore.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: linux-next: the selinux tree needs cleaning up
Date: Thu, 19 Jun 2014 15:47:01 -0400 [thread overview]
Message-ID: <3494783.s5KPIUO972@sifl> (raw)
In-Reply-To: <20140620010837.692e5472@canb.auug.org.au>
On Friday, June 20, 2014 01:08:37 AM Stephen Rothwell wrote:
> Hi Paul,
Howdy.
> On Wed, 18 Jun 2014 14:26:27 -0400 Paul Moore <paul@paul-moore.com> wrote:
> > On Wednesday, June 18, 2014 08:40:46 AM Stephen Rothwell wrote:
I'm going to chop up your email a bit so it makes more sense when replying, my
apologies if I make things worse.
> As for your current tree, it contains the following commits:
>
> (1) 5c7001b84be5 SELinux: use ARRAY_SIZE
> (2) aa65506f198c selinux, kbuild: remove unnecessary $(hostprogs-y) from
> clean-files 170b5910d9fb Merge tag 'v3.15' into next
> (3) 47dd0b76ace9 selinux: conditionally reschedule in hashtab_insert while
> loading selinux policy (4) 612c353178c4 selinux: conditionally reschedule
> in mls_convert_context while loading selinux policy (5) 4f189988a0a5
> selinux: reject setexeccon() on MNT_NOSUID applications with -EACCES (6)
> 626b9740fa73 selinux: Report permissive mode in avc: denied messages.
> 6d32c850621b Merge tag 'v3.14' into next
> (7) eee3094683fb selinux: correctly label /proc inodes in use before the
> policy is loaded (8) 0909c0ae999c selinux: put the mmap() DAC controls
> before the MAC controls (9) 81c94e76ce8e selinux: fix the output of
> ./scripts/get_maintainer.pl for SELinux 41be702a542a Merge tag 'v3.13' into
> next
>
> 1 and 2 are new
Yes, these are the "new" SELinux patches that should be in linux-next.
> 3 is in Linus' tree as commit ed1c96429a6a
> 4 9a591f39a9d1
> 5 5b589d44fad1
> 6 ca7786a2f916
> 7 f64410ec6654
> 8 and 9 are subsumed by something in Linus' tree.
These are likely caused by the problems we talked about earlier.
> > So, back to your concerns - what do you want to see in linux-next? My
> > practice for the SELinux #next branch has been to apply patches on top of
> > the latest "major" release from Linus, e.g. 3.15, and when a new major
> > release is made I merge it into #next and restart the process. I
> > generally send James' a pull request in the -rc6/7 timeframe using the
> > #next branch. While this has resulted in some ugliness (see above
> > comments) it keeps the SELinux #next branch steady so others can pull
> > from it without major problems.
> >
> > Does this approach not work for you and linux-next?
>
> OK, you should probably base your tree on -rc1 or 2, that way all your
> stuff for the previous merge window is upstream and you don't need to
> worry about it any more.
...
> So, the easiest way for you to clean up from this is to now rebase onto
> v3.16-rc1 (which will leave you with just commits 1 and 2) and then
> ensure that in the future James (or whoever is handling the security
> tree) pulls your tree (and doesn't cherry-pick the patches). Then
> after that has happened, you can fast forward your tree onto that
> upstream tree, or wait until the next -rc1 and fast forward to that.
I want to avoid use a -rcX release as the foundation of any of my trees; the -
rc releases aren't as stable and it goes against what we're trying to do with
the different Linux Security trees. Unfortunately, based on what I've read
above, this seems to be incompatible with linux-next.
While I hate to split my development branch from the #next branch, it seems
like that is the only way to accomplish both a reasonably current and stable
development tree and get the patches into linux-next. Unless you, or anyone
else for that matter, has a different suggestion I'm going to go ahead and
turn the current SELinux #next branch into a development branch and create a
new #next branch that will be based on the most current -rc1, this new #next
branch will be created new for each major release. Not exactly what I was
hoping for, but will that work?
--
paul moore
www.paul-moore.com
next prev parent reply other threads:[~2014-06-19 19:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-17 22:40 linux-next: the selinux tree needs cleaning up Stephen Rothwell
2014-06-18 18:26 ` Paul Moore
2014-06-19 15:08 ` Stephen Rothwell
2014-06-19 19:47 ` Paul Moore [this message]
2014-06-19 22:59 ` Stephen Rothwell
2014-06-20 3:43 ` Serge E. Hallyn
2014-06-20 3:59 ` Stephen Rothwell
2014-06-20 14:57 ` Serge E. Hallyn
2014-06-20 16:06 ` Paul Moore
2014-06-24 18:03 ` Paul Moore
2014-06-24 23:59 ` Stephen Rothwell
2014-06-25 10:51 ` James Morris
2014-06-25 22:12 ` Stephen Rothwell
2014-06-27 2:41 ` James Morris
2014-06-25 14:14 ` 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=3494783.s5KPIUO972@sifl \
--to=paul@paul-moore.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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;
as well as URLs for NNTP newsgroup(s).