diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2025-04-27 18:17:21 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2025-04-27 18:30:04 +0200 |
| commit | ae8011a3548f32980af9e915189b1d48f019f77f (patch) | |
| tree | 95a64565c380a7d1b37f6e9a97f8e7253512563c /.gitignore | |
| parent | a1cf39ab0ff0687994a66ba116b316bc59849e2c (diff) | |
Ignore SIGUSR1 in the backend child process
If a user calls `killall -USR1 swaylock`, they may end up signalling the
password backend. As the password backend forked before SIGUSR1 handling
was set up, it inherits the default handler and terminates.
Set the SIGUSR1 handler to SIG_IGN in the child process.
Fixes: https://github.com/swaywm/swaylock/issues/409
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
