Return to users.c CVS log | Up to [local] / src / usr.bin / users |
version 1.13, 2015/10/09 01:37:09 | version 1.14, 2018/08/03 16:02:53 | ||
---|---|---|---|
|
|
||
struct utmp utmp; | struct utmp utmp; | ||
int ch; | int ch; | ||
if (unveil(_PATH_UTMP, "r") == -1) | |||
err(1, "unveil"); | |||
if (pledge("stdio rpath", NULL) == -1) | if (pledge("stdio rpath", NULL) == -1) | ||
err(1, "pledge"); | err(1, "pledge"); | ||