pam: systemd-user - call selinux module

https://bugzilla.redhat.com/show_bug.cgi?id=1262933
This commit is contained in:
Kay Sievers 2015-09-17 17:15:28 +02:00
parent 03364e472b
commit a13cff19ce
3 changed files with 8 additions and 0 deletions

View file

@ -5488,6 +5488,8 @@ pamlib_LTLIBRARIES = \
dist_pamconf_DATA = \
src/login/systemd-user
EXTRA_DIST += \
src/login/systemd-user.m4
endif
nodist_systemunit_DATA += \

View file

@ -2,3 +2,4 @@
/org.freedesktop.login1.policy
/71-seat.rules
/73-seat-late.rules
/systemd-user

View file

@ -3,4 +3,9 @@
# Used by systemd --user instances.
account include system-auth
m4_ifdef(`HAVE_SELINUX',
session required pam_selinux.so close
session required pam_selinux.so nottys open
)m4_dnl
session include system-auth