Searched refs:_PATH_CONSOLE (Results 1 – 12 of 12) sorted by relevance
/openbsd/sbin/reboot/ |
H A D | reboot.c | 193 if (revoke(_PATH_CONSOLE) == -1) in main() 197 fd = open(_PATH_CONSOLE, O_RDWR); in main()
|
/openbsd/sbin/shutdown/ |
H A D | shutdown.c | 167 if (unveil(_PATH_CONSOLE, "rw") == -1) in main() 168 err(1, "unveil %s", _PATH_CONSOLE); in main() 463 if (revoke(_PATH_CONSOLE) == -1) in die_you_gravy_sucking_pig_dog() 467 fd = open(_PATH_CONSOLE, O_RDWR); in die_you_gravy_sucking_pig_dog()
|
/openbsd/include/ |
H A D | paths.h | 44 #define _PATH_CONSOLE "/dev/console" macro
|
/openbsd/usr.sbin/lpd/ |
H A D | lp.h | 28 #define DEFAULT_LF _PATH_CONSOLE
|
/openbsd/sys/arch/powerpc64/stand/rdboot/ |
H A D | rdboot.c | 62 fd = open(_PATH_CONSOLE, O_RDWR); in main()
|
/openbsd/sys/arch/octeon/stand/rdboot/ |
H A D | rdboot.c | 62 fd = open(_PATH_CONSOLE, O_RDWR); in main()
|
/openbsd/usr.sbin/lpr/lpd/ |
H A D | recvjob.c | 92 LF = _PATH_CONSOLE; in recvjob()
|
H A D | printjob.c | 1298 LF = _PATH_CONSOLE; in init()
|
/openbsd/sbin/init/ |
H A D | init.c | 520 setctty(_PATH_CONSOLE); in f_single_user() 677 setctty(_PATH_CONSOLE); in f_runcom() 1340 setctty(_PATH_CONSOLE); in f_nice_death()
|
/openbsd/bin/ps/ |
H A D | ps.c | 213 ttypath = _PATH_CONSOLE; in main()
|
/openbsd/usr.sbin/syslogd/ |
H A D | privsep.c | 543 if (strcmp(_PATH_CONSOLE, tty) && strncmp(tty, ttypre, strlen(ttypre))) in check_tty_name()
|
H A D | syslogd.c | 125 const char ctty[] = _PATH_CONSOLE;
|