| /freebsd-11-stable/crypto/openssh/openbsd-compat/ |
| HD | bsd-openpty.c | 68 #ifndef O_NOCTTY 69 #define O_NOCTTY 0 macro 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty() 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty() 140 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty() 144 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 164 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty() 167 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty() 192 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() [all …]
|
| /freebsd-11-stable/crypto/openssh/ |
| HD | sshpty.c | 45 #ifndef O_NOCTTY 46 #define O_NOCTTY 0 macro 107 fd = open(tty, O_RDWR|O_NOCTTY); in pty_make_controlling_tty() 129 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 142 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 249 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
|
| /freebsd-11-stable/contrib/libreadline/examples/rlfe/ |
| HD | pty.c | 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-11-stable/contrib/llvm-project/lldb/source/Host/common/ |
| HD | FileAction.cpp | 39 m_arg = O_NOCTTY | O_CREAT | O_RDWR; in Open() 41 m_arg = O_NOCTTY | O_RDONLY; in Open() 43 m_arg = O_NOCTTY | O_CREAT | O_WRONLY; in Open()
|
| HD | ProcessLaunchInfo.cpp | 214 int open_flags = O_RDWR | O_NOCTTY; in SetUpPtyRedirection()
|
| /freebsd-11-stable/contrib/netbsd-tests/lib/libc/ttyio/ |
| HD | t_ptm.c | 132 if ((fdm = posix_openpt(O_RDWR|O_NOCTTY)) == -1) { in ATF_TC_BODY() 152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1); in ATF_TC_BODY()
|
| /freebsd-11-stable/sys/i386/ibcs2/ |
| HD | ibcs2_fcntl.c | 74 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-11-stable/crypto/openssl/crypto/rand/ |
| HD | rand_unix.c | 280 # ifdef O_NOCTTY /* If it happens to be a TTY (god forbid), do in RAND_poll() 282 | O_NOCTTY in RAND_poll()
|
| /freebsd-11-stable/contrib/xz/src/common/ |
| HD | tuklib_open_stdxxx.c | 38 const int fd = open("/dev/null", O_NOCTTY in tuklib_open_stdxxx()
|
| /freebsd-11-stable/cddl/lib/libdtrace/ |
| HD | io.d | 104 inline int O_NOCTTY = 0x8000; variable 105 #pragma D binding "1.1" O_NOCTTY
|
| /freebsd-11-stable/contrib/gcclibs/libcpp/ |
| HD | system.h | 331 #ifndef O_NOCTTY 332 #define O_NOCTTY 0 macro
|
| /freebsd-11-stable/contrib/llvm-project/lldb/tools/driver/ |
| HD | Platform.h | 35 #define O_NOCTTY 0400 macro
|
| /freebsd-11-stable/contrib/xz/src/xz/ |
| HD | file_io.c | 46 #ifndef O_NOCTTY 47 # define O_NOCTTY 0 macro 548 int flags = O_RDONLY | O_BINARY | O_NOCTTY; in io_open_src_real() 889 int flags = O_WRONLY | O_BINARY | O_NOCTTY in io_open_dest_real()
|
| /freebsd-11-stable/lib/libutil/ |
| HD | pty.c | 59 master = posix_openpt(O_RDWR|O_NOCTTY); in openpty()
|
| /freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
| HD | tst.fds.c | 86 O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC | O_TRUNC | 0666); in main()
|
| /freebsd-11-stable/contrib/telnet/telnetd/ |
| HD | sys_term.c | 385 p = posix_openpt(O_RDWR|O_NOCTTY); in getpty() 882 #ifndef O_NOCTTY 883 #define O_NOCTTY 0 macro 903 t = open(line, O_RDWR|O_NOCTTY); in cleanopen()
|
| /freebsd-11-stable/sys/compat/svr4/ |
| HD | svr4_fcntl.c | 118 r |= (l & SVR4_O_NOCTTY) ? O_NOCTTY : 0; 138 r |= (l & O_NOCTTY) ? SVR4_O_NOCTTY : 0; 406 if (!(bsd_flags & O_NOCTTY) && SESS_LEADER(p) &&
|
| /freebsd-11-stable/sys/sys/ |
| HD | fcntl.h | 110 #define O_NOCTTY 0x8000 /* don't assign controlling terminal */ macro
|
| /freebsd-11-stable/tests/sys/audit/ |
| HD | file-close.c | 184 ATF_REQUIRE((filedesc = posix_openpt(O_RDWR | O_NOCTTY)) != -1); in ATF_TC_BODY()
|
| /freebsd-11-stable/crypto/heimdal/appl/telnet/telnetd/ |
| HD | sys_term.c | 945 #ifndef O_NOCTTY 946 #define O_NOCTTY 0 macro 976 t = open(line, O_RDWR|O_NOCTTY); in cleanopen() 992 t = open(line, O_RDWR|O_NOCTTY); in cleanopen()
|
| /freebsd-11-stable/usr.sbin/bluetooth/hcseriald/ |
| HD | hcseriald.c | 168 fd = open(device, O_RDWR|O_NOCTTY); in open_device()
|
| /freebsd-11-stable/contrib/amd/amd/ |
| HD | info_exec.c | 269 if ((nullfd = open("/dev/null", O_WRONLY|O_NOCTTY)) < 0) in exec_map_open()
|
| /freebsd-11-stable/contrib/gdb/gdb/ |
| HD | inflow.c | 542 tty = open (inferior_thisrun_terminal, O_RDWR | O_NOCTTY); in new_tty()
|
| /freebsd-11-stable/contrib/ntp/ntpd/ |
| HD | refclock_arc.c | 473 #ifdef O_NOCTTY /* Good, we can avoid tty becoming controlling tty. */ 474 #define OPEN_FLAGS (O_RDWR | O_NOCTTY)
|
| /freebsd-11-stable/contrib/pjdfstest/ |
| HD | pjdfstest.c | 264 #ifdef O_NOCTTY 265 { O_NOCTTY, "O_NOCTTY" },
|