summaryrefslogtreecommitdiff
path: root/src/login/systemd-user.m4
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-09-17 17:15:28 +0200
committerKay Sievers <kay@vrfy.org>2015-09-22 17:54:13 +0200
commita13cff19ce8a52e4f5c436e3cc84355691ed6341 (patch)
tree0afabedc3f36dadec977770c8133de56bf2ad9e1 /src/login/systemd-user.m4
parent03364e472bccf64544e3a0d36d09f90c78f9f699 (diff)
pam: systemd-user - call selinux module
https://bugzilla.redhat.com/show_bug.cgi?id=1262933
Diffstat (limited to 'src/login/systemd-user.m4')
-rw-r--r--src/login/systemd-user.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4
new file mode 100644
index 0000000000..7933508f2b
--- /dev/null
+++ b/src/login/systemd-user.m4
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# 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