Return to lock.c CVS log | Up to [local] / src / usr.bin / lock |
version 1.28, 2015/01/16 06:40:09 | version 1.29, 2015/10/07 04:05:24 | ||
---|---|---|---|
|
|
||
usemine = 0; | usemine = 0; | ||
no_timeout = 0; | no_timeout = 0; | ||
if (tame("stdio getpw rpath wpath tty", NULL) == -1) | |||
err(1, "tame"); | |||
if (!(pw = getpwuid(getuid()))) | if (!(pw = getpwuid(getuid()))) | ||
errx(1, "unknown uid %u.", getuid()); | errx(1, "unknown uid %u.", getuid()); | ||