Lock your screen and suck less while at it!
Find a file
FRIGN 137f0076c2 Refactor dontkillme()
- Use file pointers instead of raw I/O, inspired by Kernel code.
- Use OOM_SCORE_ADJ_MIN from linux/oom.h instead of working with
  magic values.
- Stricter error checking and descriptive error messages.

The reasoning for using the constant rather than magic values lies
in the fact that this ensures people get the message.
With "-1000", a code reviewer would question if that is really the
lowest possible number or just an arbitrary value.
The kernel ABI probably won't change, but even in the case, we wouldn't
have to modify the code. The OOM killer only is guaranteed to not
kill you if you have OOM_SCORE_ADJ_MIN.
2016-08-31 01:06:44 +02:00
arg.h Refactor main() 2016-08-22 23:22:20 +02:00
config.def.h Clarify config.def.h 2016-02-14 01:33:18 +01:00
config.mk clear passwords with explicit_bzero 2016-08-13 09:58:00 +02:00
explicit_bzero.c clear passwords with explicit_bzero 2016-08-13 09:58:00 +02:00
LICENSE Update license year 2016-02-11 16:30:52 +01:00
Makefile clear passwords with explicit_bzero 2016-08-13 09:58:00 +02:00
README removed useless chars, prepared release 2008-07-29 19:08:18 +01:00
slock.1 Convert manpage to mandoc and fix usage 2016-08-31 01:04:11 +02:00
slock.c Refactor dontkillme() 2016-08-31 01:06:44 +02:00
util.h clear passwords with explicit_bzero 2016-08-13 09:58:00 +02:00

slock - simple screen locker
============================
simple screen locker utility for X. 


Requirements
------------
In order to build slock you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (slock is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install slock
(if necessary as root):

    make clean install


Running slock
-------------
Simply invoke the 'slock' command. To get out of it, enter your password.