aboutsummaryrefslogtreecommitdiff
path: root/swaylock/pam.c
AgeCommit message (Collapse)Author
2018-11-25Replace _XOPEN_SOURCE with _POSIX_C_SOURCEemersion
And make sure we don't define both in the same source file.
2018-09-28Add support for building swaylock without PAMDrew DeVault
This involves setuid'ing swaylock, which then forks and drops perms on the parent process. The child process remains root and listens on a pipe for requests to validate passwords against /etc/shadow.