summaryrefslogtreecommitdiff
path: root/pam.c
AgeCommit message (Collapse)Author
2024-10-12Stop processing auth requests after successManuel Stoeckl
The child process handling PAM authentication can have multiple requests queued up. As the first success will unlock the screen, there is no point in processing anything afterwards.
2022-06-15Use mlock for password bufferRobin Ebert
2020-07-13refresh pam credentials after successful authenticationYaroslav
2019-01-18Make setuid error clearer.Connor E
2019-01-18Log error and exit if swaylock is suid with PAM backend.Connor E
2019-01-17Move PAM into a child processemersion
2019-01-16Print more detailed error messagesemersion
2019-01-14Implement logging and remove wlroots dependencyBrian Ashworth
This implements a simpler version of the wlroots logger for swaylock. With this logger, the dependency on wlroots can be dropped. This also adds a debug flag and disables debugging output by default
2019-01-13Convert swaylock into standalone projectDrew DeVault
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.