slock

simple X display locker utility

git clone https://9o.is/git/slock.git

commit 07f1828df08efd4a62fa8b87739e2699755ea00f
parent a67d4068204f780573c0adc6708be786cda96120
Author: Markus Teich <markus.teich@stusta.mhn.de>
Date:   Fri, 29 Jan 2016 22:11:18 +0100

add hint for suid to oom error message

Diffstat:
Mslock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slock.c b/slock.c @@ -81,7 +81,7 @@ dontkillme(void) die("buffer too small\n"); if (fd < 0 || write(fd, value, length) != length || close(fd) != 0) - die("cannot disable the out-of-memory killer for this process\n"); + die("cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)\n"); } #endif