Home
last modified time | relevance | path

Searched refs:tty_mode (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c100 mode_t tty_mode = (mode_t)-1; /* Original access permissions to tty */ variable
701 tty_mode = statbuf.st_mode;
1552 if (tty_mode != (mode_t) -1) { in close_tty()
1553 if (fchmod(fd, tty_mode) != 0) { in close_tty()
1555 if (chmod(devnam, tty_mode) != 0) { in close_tty()