I grabbed a copy of from http://www.filewatcher.com/p/util-linux-2.11y-31.2.src.rpm.1552730/util-linux-selinux.patch.html and had a go at patching it against the 2.12r code to see what was going to patch/what needed fixing, and it appears 2.12r already has some selinux code/support included? (the 2.11y patch creates two files, amongst other things, called selinux_utils.c and .h - these already exist) The MCONFIG file has an option to enable selinux - it appears the patch is already integrated? Looking at fedora sources, it looks like they only patch util-linux for pam, not selinux, so this would seem to confirm this is the case (though looking at Timothy Wood's patchset, he's also adding the use_selinux define to MCONFIG). So I don't need to do anything to util-linux except enable selinux on compile? Login would come from Shadow in any event, so probably need to be looking there... M From: Stephen Smalley <sds@xxxxxxxxxxxxx> The switch from using a direct patch to login to using pam_selinux happened back in 2003, so I think Fedora might have always used pam_selinux (since Fedora first included SELinux in Fedora Core 2, which came out later). You can tell by whether or not the util-linux-selinux.patch included a diff to login.c or not. Of course, pam_selinux has undergone a lot of changes since that time, so you may want to consider just back porting its logic into login.c, removing its pam'isms. google on util-linux-selinux.patch found a copy that still had the login.c mods at: http://mirror.caoslinux.org/cAos-1/creation/util-linux-2.11y-31.1/SOURCES/util-linux-selinux.patch among other places. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.