diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-06 12:17:36 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-10-06 12:20:12 -0400 |
commit | c89e00a97e6bb04c6b4b5c906befdb4767540dbe (patch) | |
tree | a4ccf0cb0afafc0c8db6cbded85a3b156945b12b /meson.build | |
parent | Update CONTRIBUTING.md (diff) | |
download | sway-c89e00a97e6bb04c6b4b5c906befdb4767540dbe.tar.gz sway-c89e00a97e6bb04c6b4b5c906befdb4767540dbe.tar.zst sway-c89e00a97e6bb04c6b4b5c906befdb4767540dbe.zip |
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
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
44 | pixman = dependency('pixman-1') | 44 | pixman = dependency('pixman-1') |
45 | libinput = dependency('libinput', version: '>=1.6.0') | 45 | libinput = dependency('libinput', version: '>=1.6.0') |
46 | libpam = cc.find_library('pam', required: false) | 46 | libpam = cc.find_library('pam', required: false) |
47 | crypt = cc.find_library('crypt', required: false) | ||
47 | systemd = dependency('libsystemd', required: false) | 48 | systemd = dependency('libsystemd', required: false) |
48 | elogind = dependency('libelogind', required: false) | 49 | elogind = dependency('libelogind', required: false) |
49 | math = cc.find_library('m') | 50 | math = cc.find_library('m') |