From: Paul Moore <paul@paul-moore.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Hridya Valsaraju <hridya@google.com>,
"Connor O'Brien" <connoro@google.com>
Subject: Re: linux-next: manual merge of the selinux tree with Linus' tree
Date: Wed, 12 Feb 2020 18:03:39 -0500 [thread overview]
Message-ID: <CAHC9VhQnot6FOaJDDsu45JkJBM7B_5frhevO5=xwpu_2=+XBCw@mail.gmail.com> (raw)
In-Reply-To: <20200213094844.6bafd9e1@canb.auug.org.au>
On Wed, Feb 12, 2020 at 5:48 PM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> Today's linux-next merge of the selinux tree got a conflict in:
>
> security/selinux/hooks.c
>
> between commit:
>
> a20456aef80f ("selinux: fix typo in filesystem name")
>
> from Linus' tree and commit:
>
> 4ca54d3d3022 ("security: selinux: allow per-file labeling for bpffs")
>
> from the selinux tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging. You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
Yes, I ran into the same problem this morning. That is the correct
fix, thanks Stephen.
> diff --cc security/selinux/hooks.c
> index ae891d712800,44f6f4e20cba..000000000000
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@@ -698,7 -701,8 +701,8 @@@ static int selinux_set_mnt_opts(struct
>
> if (!strcmp(sb->s_type->name, "debugfs") ||
> !strcmp(sb->s_type->name, "tracefs") ||
> - !strcmp(sb->s_type->name, "binderfs") ||
> + !strcmp(sb->s_type->name, "binder") ||
> + !strcmp(sb->s_type->name, "bpf") ||
> !strcmp(sb->s_type->name, "pstore"))
> sbsec->flags |= SE_SBGENFS;
>
--
paul moore
www.paul-moore.com
next prev parent reply other threads:[~2020-02-12 23:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-12 22:48 linux-next: manual merge of the selinux tree with Linus' tree Stephen Rothwell
2020-02-12 23:03 ` Paul Moore [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-05 0:52 Stephen Rothwell
2023-06-05 20:47 ` Paul Moore
2022-11-10 1:44 Stephen Rothwell
2022-11-10 2:26 ` Paul Moore
2021-09-21 1:17 Stephen Rothwell
2021-09-21 14:43 ` Paul Moore
2017-05-22 2:38 Stephen Rothwell
2017-05-22 21:08 ` Paul Moore
2017-05-22 21:13 ` Daniel Jurgens
2013-07-26 3:48 Stephen Rothwell
2013-07-26 4:22 ` David Quigley
2013-07-26 7:38 ` Stephen Rothwell
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='CAHC9VhQnot6FOaJDDsu45JkJBM7B_5frhevO5=xwpu_2=+XBCw@mail.gmail.com' \
--to=paul@paul-moore.com \
--cc=connoro@google.com \
--cc=hridya@google.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).