From c89e00a97e6bb04c6b4b5c906befdb4767540dbe Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 6 Oct 2018 12:17:36 -0400 Subject: 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 --- meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 1e7ce281..42386fbc 100644 --- a/meson.build +++ b/meson.build @@ -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') -- cgit v1.2.3-54-g00ecf