Re: [dev] Possible improvement on slock - suid

From: patrick295767 patrick295767 <>
Date: Thu, 14 Nov 2013 08:51:11 +0100

In my opinion, the lock (slock) shall be remain very light based a
very minimum of x11, in other words just on the x11 minimum of x11
layer functions/libs....

slock might be a minimal x11 lock, without any additional features. Is
actually getpwuid() really needed? slock function might be to simply
lock x11 in the most simple manner.

Furthermore, the user can anytime pkill slock from another tty.

2013/11/14 sin <>:
> On Wed, Nov 13, 2013 at 09:32:44PM +0100, patrick295767 patrick295767 wrote:
>> Hi,
>> Slock is a nice application. However I would go on simpler
>> even to avoid the suid/sgid check.
> On a side note for the other check on getpwuid() we should really
> be setting errno to zero before the call and checking that as well
> after the call.
Received on Thu Nov 14 2013 - 08:51:11 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 14 2013 - 09:00:09 CET