Re: [dev] Possible improvement on slock - suid

From: sin <sin_AT_2f30.org>
Date: Thu, 14 Nov 2013 01:39:50 +0200

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 - 00:39:50 CET

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