Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752489AbdFUJsR (ORCPT ); Wed, 21 Jun 2017 05:48:17 -0400 Received: from wp260.webpack.hosteurope.de ([80.237.133.29]:47508 "EHLO wp260.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbdFUJsP (ORCPT ); Wed, 21 Jun 2017 05:48:15 -0400 Date: Wed, 21 Jun 2017 11:48:12 +0200 From: Luis Ressel To: Paul Moore Cc: Stephen Smalley , James Morris , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov Subject: Re: [PATCH] selinux: Assign proper class to PF_UNIX/SOCK_RAW sockets Message-ID: <20170621114812.6aa3f62e@vega.skynet.aixah.de> In-Reply-To: References: <20170619213348.2970-1-aranea@aixah.de> <1497989063.12069.18.camel@tycho.nsa.gov> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;aranea@aixah.de;1498038495;de720d77; X-HE-SMSGID: 1dNcFB-0000np-0L Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 24 On Tue, 20 Jun 2017 17:43:38 -0400 Paul Moore 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.) 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. 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. Regards, Luis Ressel