Re: [PATCH] selinux: remove unnecessary assignment to subdir-

2017-11-13 Thread Paul Moore
On Mon, Nov 13, 2017 at 5:40 AM, Masahiro Yamada wrote: > Makefile.clean descends into $(subdir-y). Dummy assignment to subdir- > is meaningless. > > Signed-off-by: Masahiro Yamada > --- > > I will pick this up for kbuild tree >

[PATCH] netlabel: If PF_INET6, check sk_buff ip header version

2017-11-13 Thread Richard Haines
When resolving a fallback label, check the sk_buff version as it is possible (e.g. SCTP) to have family = PF_INET6 while receiving ip_hdr(skb)->version = 4. Signed-off-by: Richard Haines --- net/netlabel/netlabel_unlabeled.c | 10 ++ 1 file changed, 10

[GIT PULL] SELinux patches for v4.15

2017-11-13 Thread Paul Moore
/selinux.git tags/selinux-pr-20171113 for you to fetch changes up to 5794ed762ac2125299644494766704da94168ec0: selinux: remove extraneous initialization of slots_used and max_chain_len (2017-10-16 18:40:09 -0400) selinux/stable-4.15 PR

Re: [RFC v0.1][PATCH] selinuxns: extend namespace support to security.selinux xattrs

2017-11-13 Thread Stephen Smalley
On Mon, 2017-11-13 at 17:45 +1100, James Morris wrote: > On Tue, 31 Oct 2017, Stephen Smalley wrote: > > > This btw would be a bit cleaner if we dropped the .ns. portion of > > the > > name, such that we would have: > > security.selinux # xattr name in the init namespace > > security.selinux.vmN

[PATCH] selinux: remove unnecessary assignment to subdir-

2017-11-13 Thread Masahiro Yamada
Makefile.clean descends into $(subdir-y). Dummy assignment to subdir- is meaningless. Signed-off-by: Masahiro Yamada --- I will pick this up for kbuild tree since this is very trivial from the build system point of view. scripts/selinux/Makefile | 1 - 1 file

[PATCH] python/semanage: Update Infiniband code to work on python3

2017-11-13 Thread Vit Mojzis
Update Infiniband "port" and "key" listing and export to work on python3. {}.keys() does not support .sort() operation on Py3. Signed-off-by: Vit Mojzis --- python/semanage/seobject.py | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git