FRIGN 3abbffa493 Simplify the oom-taming-function
There really is no need to source a defined variable from a linux
header. The OOM-rank ranges from -1000 to 1000, so we can safely
hardcode -1000, which is a sane thing to do given slock is suid and
we don't want to play around too much here anyway.

On another notice, let's not forget that this still is a shitty
heuristic. The OOM-killer still can kill us (thus I also changed
the wording in the error-message. We do not disable the OOM-killer,
we're just hiding.
2016-02-14 01:28:37 +01:00
2016-02-11 16:51:12 +01:00
2016-02-11 16:30:52 +01:00
2016-02-11 16:51:12 +01:00
2008-07-29 19:08:18 +01:00
2016-02-11 16:51:12 +01:00
2016-02-14 01:28:37 +01: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.
Description
Fork of slock-flexipatch for personal use
Readme 194 KiB
Languages
C 94.5%
Makefile 4%
Roff 1.5%