package/util-linux: revert logic regarding pam_selinux module
authorCarlos Santos <unixmania@gmail.com>
Sat, 14 Sep 2019 17:09:22 +0000 (14:09 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 21 Sep 2019 11:47:10 +0000 (13:47 +0200)
commitc3aed7b0cde43860b2c8805eabe52f17856a1a29
tree214f16d63474ee244f1f2bce5d8fdbbe8863df3b
parent53622826da5a303e6f99cc91b8a43a550eff7b86
package/util-linux: revert logic regarding pam_selinux module

Leave pam_selinux enabled by default in su.pam and remove it from the
/etc/pam.d/su and /etc/pam.d/su-l files if libselinux is not selected.

This cosmetic change prevents leaving a misleading commented-out line
that references a PAM module that does not exist.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/util-linux/su.pam
package/util-linux/util-linux.mk