Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1671958

Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets

From Paul Moore <paul@paul-moore.com>
Newsgroups linux.kernel
Subject Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets
Date 2017-06-21 21:10 +0200
Message-ID <tUTaO-1YJ-15@gated-at.bofh.it> (permalink)
References <tUcyS-86s-13@gated-at.bofh.it> <tUxjY-4nI-21@gated-at.bofh.it> <tUxDj-4LL-3@gated-at.bofh.it> <tUzc6-5At-37@gated-at.bofh.it> <tUKqS-4oF-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 21, 2017 at 5:48 AM, Luis Ressel <aranea@aixah.de> wrote:
> On Tue, 20 Jun 2017 17:43:38 -0400
> Paul Moore <paul@paul-moore.com> wrote:
>
>> Considering where we are at with respect to the merge window, let's
>> shelve this for now and I'll merge it after the next merge window
>> closes.  In all likelihood I'll be sending selinux/next up to James
>> later this week and I'd like this to sit in linux-next for longer than
>> a few days.
>
> That means the change will land in 4.14 at the earliest, right? (Just
> out of curiosity.)

That's correct.  We are currently working towards a v4.12 release in
Linus' tree, the upcoming merge window will be for v4.13, and things
merged into selinux/next after that merge window will be for v4.14.

> By the way, refpolicy only grants "socket" permissions to a handful of
> domains, all of which also have the corresponding "unix_dgram_socket"
> permissions. The fedora policy does the same (according to Stephen);
> this only leaves custom policies to be potentially affected by this
> change.

While custom policies are definitely in the minority, we still need to
do out best not to break them without warning.

> Given that the SOCK_RAW->SOCK_DGRAM translation is obscure enough not to
> be documented anywhere outside the kernel sources, I doubt there are
> many users of it, anyway.

You very well may be right, I just felt that such a change requires
more than a week in the selinux/next tree.

Thank you for your patch, it's in the queue and I'll be merging it
into the selinux/next branch in a few weeks.

-- 
paul moore
www.paul-moore.com

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets Paul Moore <paul@paul-moore.com> - 2017-06-20 21:50 +0200
  Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets Stephen Smalley <sds@tycho.nsa.gov> - 2017-06-20 22:10 +0200
    Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets Paul Moore <paul@paul-moore.com> - 2017-06-20 23:50 +0200
      Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW  sockets Luis Ressel <aranea@aixah.de> - 2017-06-21 11:50 +0200
        Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets Paul Moore <paul@paul-moore.com> - 2017-06-21 21:10 +0200

csiph-web