| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | bsd-openpty.c | 68 #ifndef O_NOCTTY 69 #define O_NOCTTY 0 macro 84 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty_streams() 101 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty_streams() 143 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 166 if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) { in openpty() 182 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty() 186 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 209 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 213 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | sshpty.c | 42 #ifndef O_NOCTTY 43 #define O_NOCTTY 0 macro 102 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 115 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 223 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
|
| /freebsd/tests/sys/kern/tty/ |
| H A D | tiocnotty.c | 27 master = posix_openpt(O_RDWR | O_NOCTTY); in main() 41 slave = open(ptsname(master), O_RDWR | O_NOCTTY); in main() 65 slave = open(ptsname(master), O_RDWR | O_NOCTTY); in main()
|
| /freebsd/contrib/llvm-project/lldb/source/Host/common/ |
| H A D | FileAction.cpp | 40 m_arg = O_NOCTTY | O_CREAT | O_RDWR; in Open() 42 m_arg = O_NOCTTY | O_RDONLY; in Open() 44 m_arg = O_NOCTTY | O_CREAT | O_WRONLY | O_TRUNC; in Open()
|
| H A D | ProcessLaunchInfo.cpp | 211 int open_flags = O_RDWR | O_NOCTTY; in SetUpPtyRedirection()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | posix_openpt.sh | 69 if ((masterfd = posix_openpt(O_RDWR | O_NOCTTY)) == -1) 73 if ((slavefd = open(slave, O_RDWR|O_NOCTTY)) == -1)
|
| H A D | posix_openpt2.sh | 120 if ((masterfd = posix_openpt(O_RDWR | O_NOCTTY)) == -1) 124 if ((slavefd = open(slave, O_RDWR|O_NOCTTY)) == -1)
|
| H A D | suj23.sh | 345 fd = open(bstg_pathstore_get(), O_RDWR | O_NONBLOCK | O_NOCTTY);
|
| H A D | syzkaller92.sh | 138 /*flags=O_TRUNC|O_NOCTTY|O_APPEND*/ 0x8408, /*mode=*/0);
|
| /freebsd/contrib/netbsd-tests/lib/libc/ttyio/ |
| H A D | 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/sys/sys/ |
| H A D | fcntl.h | 109 #define O_NOCTTY 0x8000 /* don't assign controlling terminal */ macro 184 O_EXCL | O_NOCTTY | O_DIRECT | O_DIRECTORY | O_EXEC | O_TTY_INIT | \
|
| /freebsd/contrib/llvm-project/lldb/tools/driver/ |
| H A D | Platform.h | 32 #define O_NOCTTY 0400 macro
|
| /freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/linux/ |
| H A D | fcntl-macros.h | 24 #define O_NOCTTY 00000400 macro
|
| /freebsd/contrib/xz/src/xz/ |
| H A D | file_io.c | 68 #ifndef O_NOCTTY 69 # define O_NOCTTY 0 macro 561 int flags = O_RDONLY | O_BINARY | O_NOCTTY; in io_open_src_real() 907 | O_NOCTTY | O_NONBLOCK); in io_open_dest_real() 967 int flags = O_WRONLY | O_BINARY | O_NOCTTY in io_open_dest_real()
|
| /freebsd/cddl/lib/libdtrace/ |
| H A D | io.d | 102 inline int O_NOCTTY = 0x8000; variable 103 #pragma D binding "1.1" O_NOCTTY
|
| /freebsd/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_project.c | 102 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_load_projid() 127 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_handle_one()
|
| /freebsd/lib/libutil/ |
| H A D | pty.c | 53 master = posix_openpt(O_RDWR|O_NOCTTY); in openpty()
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
| H A D | tst.fds.c | 85 O_NOCTTY | O_NONBLOCK | O_NDELAY | O_SYNC | O_TRUNC | 0666); in main()
|
| /freebsd/tests/sys/audit/ |
| H A D | file-close.c | 184 ATF_REQUIRE((filedesc = posix_openpt(O_RDWR | O_NOCTTY)) != -1); in ATF_TC_BODY()
|
| /freebsd/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | 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/tests/sys/fs/fusefs/ |
| H A D | open.cc | 251 test_ok(O_WRONLY | O_NOCTTY, O_WRONLY); in TEST_F()
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_ppsdev.c | 64 static const int OModeF = O_CLOEXEC|O_RDONLY|O_NOCTTY;
|
| H A D | refclock_arc.c | 473 #ifdef O_NOCTTY /* Good, we can avoid tty becoming controlling tty. */ 474 #define OPEN_FLAGS (O_RDWR | O_NOCTTY)
|
| H A D | refclock_nmea.c | 160 #ifndef O_NOCTTY 163 #define M_NOCTTY O_NOCTTY
|
| /freebsd/contrib/pjdfstest/ |
| H A D | pjdfstest.c | 323 #ifdef O_NOCTTY 324 { O_NOCTTY, "O_NOCTTY" },
|