version 1.49, 2018/08/03 04:47:56 |
version 1.50, 2019/09/14 17:47:00 |
|
|
char *extra = NULL; /* Store login class or number of rounds */ |
char *extra = NULL; /* Store login class or number of rounds */ |
const char *errstr; |
const char *errstr; |
|
|
if (unveil(_PATH_LOGIN_CONF, "r") == -1) |
if (unveil(_PATH_LOGIN_CONF, "r") == -1 || |
|
unveil(_PATH_LOGIN_CONF ".db", "r") == -1) |
err(1, "unveil"); |
err(1, "unveil"); |
if (pledge("stdio rpath tty", NULL) == -1) |
if (pledge("stdio rpath tty", NULL) == -1) |
err(1, "pledge"); |
err(1, "pledge"); |