- Apr 29, 2019
-
-
Rudolf Polzer authored
-
- Apr 26, 2019
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
Also stop accidentally including some .o files in the tarball; found in the checking done by the script.
-
- Apr 15, 2019
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
Not very fancy yet, but should do for now.
-
Rudolf Polzer authored
-
- Apr 13, 2019
-
-
-
Rudolf Polzer authored
-
-
divVerent authored
Contribute the example saver for displaying livestream feeds.
-
Rudolf Polzer authored
Internal reference: b/130370819.
-
Rudolf Polzer authored
-
Rudolf Polzer authored
Now the colors are only hardcoded in one place, making it easier to override them.
-
- Apr 03, 2019
-
-
Rudolf Polzer authored
Not doing so but running xsecurelock via shell expansion means that the shell will keep holding on to the sleep lock FD, preventing suspend.
-
- Mar 15, 2019
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
Rudolf Polzer authored
-
- Mar 13, 2019
-
-
Rudolf Polzer authored
(cleaner)
-
Rudolf Polzer authored
The easiest way to do that was to execl() a separate binary for the placeholder (thereby closing all close-on-exec file descriptors, even those we don't control, e.g. X11's), also making "ps" more descriptive about what this process is for, and making sure any e.g. internal mutexes by libraries we use are freed. Fixes "systemd does not suspend laptop on closing the lid".
-
- Mar 01, 2019
-
-
Rudolf Polzer authored
Otherwise the sigsuspend() call to wait for SIGCHLD does nothing and just hangs. Also, refactor to prevent this issue from happening in the future.
-
- Feb 28, 2019
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
$0 didn't contain the full path, so exec failed.
-
Rudolf Polzer authored
Fixes killing saver children twice twice.
-
Rudolf Polzer authored
-
Rudolf Polzer authored
- Always have a separate "dummy process" in each process group to prevent the PGID from getting deallocated when the leader dies. This makes the logic that kills the rest of a process group when the leader dies race-free. - Do the killing the rest of the process group inside WaitPgrp rather than in its callers.
-
Rudolf Polzer authored
-
- Feb 22, 2019
-
-
Rudolf Polzer authored
This signal is now sent from the main program to the saver to reset possible idle timers in the savers, without intending to restart the saver. This is part of the effort to make the auth child protocol more flexible and to properly run auth on top of the saver as a window.
-
Rudolf Polzer authored
That way they will still get waitpid'd on and won't stay zombies.
-
Rudolf Polzer authored
Main changes: - No longer support the case of sigprocmask failing. The new code will in that case have a race that can cause xsecurelock to hang; in the old code a similar (preexisting) race could cause other processes to get killed. - Use only one sigprocmask call to retrieve and set the new mask. - Do the sigprocmask calls outside the loop, not inside (fixes a race that appears to have caused hangs for me; repro: just hold escape).
-
divVerent authored
Use criticial section in WaitPgrp.
-
divVerent authored
Use explicit_bzero for password data.
-
- Jan 26, 2019
-
-
Rudolf Polzer authored
-
Rudolf Polzer authored
This may fix some cases of old screen content appearing after resume from suspend. Cannot reproduce these issues here though.
-
- Jan 20, 2019
-
-
Tobias Stoeckmann authored
The C standard does not guarantee that memset won't be optimized away by a compiler, which means that memset for password data is not safe. Also clear password data in signal handler for SIGTERM, otherwise it could happen that password data is left in memory that way. Signed-off-by:Tobias Stoeckmann <tobias@stoeckmann.org>
-