Return to doas.c CVS log | Up to [local] / src / usr.bin / doas |
version 1.63, 2016/09/02 18:12:30 | version 1.64, 2016/09/03 11:03:18 | ||
---|---|---|---|
|
|
||
explicit_bzero(rbuf, sizeof(rbuf)); | explicit_bzero(rbuf, sizeof(rbuf)); | ||
good: | good: | ||
if (fd != -1) { | if (fd != -1) { | ||
int secs = 10 * 60; | int secs = 5 * 60; | ||
ioctl(fd, TIOCSETVERAUTH, &secs); | ioctl(fd, TIOCSETVERAUTH, &secs); | ||
close(fd); | close(fd); | ||
} | } |