Searched refs:O_NOCTTY (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c68 #ifndef O_NOCTTY
69 #define O_NOCTTY 0 macro
87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) {
102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1)
119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) {
140 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1)
144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) {
164 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1)
167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) {
192 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY))
[all...]
/freebsd-10.0-release/contrib/xz/src/common/
H A Dtuklib_open_stdxxx.c38 const int fd = open("/dev/null", O_NOCTTY
/freebsd-10.0-release/cddl/lib/libdtrace/
H A Dio.d99 inline int O_NOCTTY = 0x8000;
100 #pragma D binding "1.1" O_NOCTTY
/freebsd-10.0-release/contrib/libreadline/examples/rlfe/
H A Dpty.c103 * Open all ptys with O_NOCTTY, just to be on the safe side
106 #ifndef O_NOCTTY
107 # define O_NOCTTY 0 macro
227 if ((f = open(PtyName, O_RDWR | O_NOCTTY | O_NONBLOCK)) < 0)
261 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
297 if ((f = open (PtyName, O_RDWR | O_NOCTTY)) < 0)
355 if ((f = open(PtyName, O_RDWR | O_NOCTTY)) == -1)
/freebsd-10.0-release/crypto/openssh/
H A Dsshpty.c45 #ifndef O_NOCTTY
46 #define O_NOCTTY 0 macro
110 fd = open(tty, O_RDWR|O_NOCTTY);
132 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
145 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
H A Dsshd.c144 #ifndef O_NOCTTY
145 #define O_NOCTTY 0 macro
1882 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY);
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c84 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC |
/freebsd-10.0-release/lib/libutil/
H A Dpty.c59 master = posix_openpt(O_RDWR|O_NOCTTY);
/freebsd-10.0-release/sys/i386/ibcs2/
H A Dibcs2_fcntl.c74 if (flags & IBCS2_O_NOCTTY) r |= O_NOCTTY;
151 if (flags & IBCS2_O_NOCTTY) r |= O_NOCTTY;
172 if (flags & O_NOCTTY) r |= IBCS2_O_NOCTTY;
/freebsd-10.0-release/contrib/gcclibs/libcpp/
H A Dsystem.h330 /* Approximate O_NOCTTY and O_BINARY. */
331 #ifndef O_NOCTTY
332 #define O_NOCTTY 0 macro
/freebsd-10.0-release/crypto/openssl/crypto/rand/
H A Drand_unix.c272 #ifdef O_NOCTTY /* If it happens to be a TTY (god forbid), do not make it
274 |O_NOCTTY
/freebsd-10.0-release/contrib/xz/src/xz/
H A Dfile_io.c35 #ifndef O_NOCTTY
36 # define O_NOCTTY 0 macro
310 int flags = O_RDONLY | O_BINARY | O_NOCTTY;
596 const int flags = O_WRONLY | O_BINARY | O_NOCTTY
/freebsd-10.0-release/sys/sys/
H A Dfcntl.h110 #define O_NOCTTY 0x8000 /* don't assign controlling terminal */ macro
/freebsd-10.0-release/sys/compat/svr4/
H A Dsvr4_fcntl.c118 r |= (l & SVR4_O_NOCTTY) ? O_NOCTTY : 0;
138 r |= (l & O_NOCTTY) ? SVR4_O_NOCTTY : 0;
405 if (!(bsd_flags & O_NOCTTY) && SESS_LEADER(p) &&
/freebsd-10.0-release/contrib/amd/amd/
H A Dinfo_exec.c270 if ((nullfd = open("/dev/null", O_WRONLY|O_NOCTTY)) < 0)
/freebsd-10.0-release/contrib/telnet/telnetd/
H A Dsys_term.c389 p = posix_openpt(O_RDWR|O_NOCTTY);
936 #ifndef O_NOCTTY
937 #define O_NOCTTY 0 macro
957 t = open(line, O_RDWR|O_NOCTTY);
/freebsd-10.0-release/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c945 #ifndef O_NOCTTY
946 #define O_NOCTTY 0 macro
976 t = open(line, O_RDWR|O_NOCTTY);
992 t = open(line, O_RDWR|O_NOCTTY);
/freebsd-10.0-release/usr.sbin/bluetooth/hcseriald/
H A Dhcseriald.c166 fd = open(device, O_RDWR|O_NOCTTY);
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dinflow.c544 tty = open (inferior_thisrun_terminal, O_RDWR | O_NOCTTY);
/freebsd-10.0-release/contrib/ntp/ntpd/
H A Dntp_refclock.c792 #ifdef O_NOCTTY
793 omode |= O_NOCTTY;
H A Drefclock_arc.c471 #ifdef O_NOCTTY /* Good, we can avoid tty becoming controlling tty. */
472 #define OPEN_FLAGS (O_RDWR | O_NOCTTY)
/freebsd-10.0-release/tools/regression/pjdfstest/
H A Dpjdfstest.c260 #ifdef O_NOCTTY
261 { O_NOCTTY, "O_NOCTTY" },
/freebsd-10.0-release/sys/kern/
H A Dtty_pts.c829 if (uap->flags & ~(O_RDWR|O_NOCTTY|O_CLOEXEC))
/freebsd-10.0-release/contrib/llvm/tools/lldb/tools/driver/
H A DDriver.cpp1225 if (m_editline_pty.OpenFirstAvailableMaster(O_RDWR|O_NOCTTY, error_str, sizeof(error_str)) == false)
1257 if (editline_output_pty.OpenFirstAvailableMaster (O_RDWR|O_NOCTTY, error_str, sizeof (error_str)) == false)
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_file.c129 bsd_flags |= O_NOCTTY;
151 if (!(bsd_flags & O_NOCTTY) &&

Completed in 242 milliseconds

12