Lines Matching refs:open
292 if ((fd = open("/dev/console", O_RDONLY)) < 0)
315 if ((fd = open(VT_DAEMON_CONSOLE_FILE, O_WRONLY)) < 0)
891 if ((fd = open(VT_DAEMON_CONSOLE_FILE, O_RDONLY)) < 0)
901 if ((fd = open(vtname, O_RDONLY)) < 0)
1100 * The idea here is that we want to open the path to which we will
1130 if ((doorfd = open(vt_door_path, O_CREAT|O_RDWR,
1132 syslog(LOG_ERR, "failed to open %s", vt_door_path);
1185 * since anyone can open any UNIX domain socket, regardless of
1275 if ((daemonfd = open(VT_DAEMON_CONSOLE_FILE, O_RDWR)) < 0) {
1362 if ((fd = open(VT_DAEMON_CONSOLE_FILE, O_WRONLY)) < 0)