util-linux: add selinux support
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 6 Dec 2016 20:27:04 +0000 (21:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jan 2017 10:05:20 +0000 (23:05 +1300)
commit373b7efdb308fcb7607cbef63ee4d2644b46136f
tree1818b1e381d5fd2aa54893b759e311a319dd097d
parentbe9157e1c060ef2ed1c358ee445e610e892c972b
util-linux: add selinux support

This patch adds optional libselinux support to the util-linux package,
and also tweaks the PAM files instealled by util-linux to work properly
in an SELinux context.

Like was done for linux-pam, the tweak is done by having the SELinux
related lines commented out in the original PAM file, and uncommented
when SELinux support is enabled.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/su.pam
package/util-linux/util-linux.mk