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.