mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
Fix swaylock w/shadow on glibc, improve security
Today I learned that GNU flaunts the POSIX standard in yet another creative way. Additionally, this adds some security improvements, namely: - Zeroing out password buffers in the privileged child process - setuid/setgid after reading /etc/shadow
This commit is contained in:
parent
85961f63bf
commit
c89e00a97e
3 changed files with 31 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: false)
|
|||
pixman = dependency('pixman-1')
|
||||
libinput = dependency('libinput', version: '>=1.6.0')
|
||||
libpam = cc.find_library('pam', required: false)
|
||||
crypt = cc.find_library('crypt', required: false)
|
||||
systemd = dependency('libsystemd', required: false)
|
||||
elogind = dependency('libelogind', required: false)
|
||||
math = cc.find_library('m')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue