Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u7MKQY9k013017 for ; Mon, 22 Aug 2016 16:26:34 -0400 Received: from home ([79.71.36.116]) by mail.gmx.com (mrgmx002) with ESMTPA (Nemesis) id 0LtIZH-1b8bDO0ZI3-012oC9 for ; Mon, 22 Aug 2016 22:23:05 +0200 From: Gary Tierney To: selinux@tycho.nsa.gov Subject: [PATCH 0/2] genhomedircon: add support for %group syntax Date: Mon, 22 Aug 2016 21:22:59 +0100 Message-Id: <1471897381-21216-1-git-send-email-gary.tierney@gmx.com> List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: From: Gary Tierney Re-spin of my original patch that adds support for logins mapped using the group %syntax to genhomedircon. This version includes fixes for the issues raised by Jason and splits the bugfix into a separate commit. There was a bit of confusion about the MLS level, I think, since semanage-user supports a default MLS level and not semanage-login. So it wouldn't be possible for a login to have a more specific level than the fallback login in that case. Though the bugfix still addresses an issue with home directories outside of /home / LU_HOMEDIRCETORY and is required for the second commit. Gary Tierney (2): genhomedircon: generate contexts for logins mapped to the default user genhomedircon: add support for %group syntax libsemanage/src/genhomedircon.c | 314 +++++++++++++++++++++++++++++++--------- 1 file changed, 243 insertions(+), 71 deletions(-) -- 2.7.4