/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 71 #ifndef O_NOCTTY 72 #define O_NOCTTY 0 macro 87 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty_streams() 104 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty_streams() 146 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty() 169 if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) { in openpty() 185 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty() 189 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty() 212 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty() 216 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty() [all …]
|
/freebsd/crypto/openssh/ |
H A D | sshpty.c | 46 #ifndef O_NOCTTY 47 #define O_NOCTTY 0 macro 106 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 119 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty() 227 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
|
/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; 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);
|
/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/contrib/llvm-project/lldb/tools/driver/ |
H A D | Platform.h | 32 #define O_NOCTTY 0400 macro
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_project.c | 101 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_load_projid() 126 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_handle_one()
|
/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/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/sys/sys/ |
H A D | fcntl.h | 109 #define O_NOCTTY 0x8000 /* don't assign controlling terminal */ macro
|
/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/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
|
H A D | ntp_refclock.c | 971 #ifdef O_NOCTTY in refclock_open() 972 omode |= O_NOCTTY; in refclock_open()
|
H A D | refclock_parse.c | 3038 #ifndef O_NOCTTY in parse_start() 3039 #define O_NOCTTY 0 in parse_start() macro 3045 fd232 = tty_open(parsedev, O_RDWR | O_NOCTTY | O_NONBLOCK, 0777); in parse_start() 3168 parse->ppsfd = tty_open(parseppsdev, O_RDWR | O_NOCTTY | O_NONBLOCK, 0777); in parse_start()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | open.cc | 251 test_ok(O_WRONLY | O_NOCTTY, O_WRONLY); in TEST_F()
|
/freebsd/contrib/pjdfstest/ |
H A D | pjdfstest.c | 323 #ifdef O_NOCTTY 324 { O_NOCTTY, "O_NOCTTY" },
|
/freebsd/sys/kern/ |
H A D | tty_pts.c | 840 if (uap->flags & ~(O_RDWR|O_NOCTTY|O_CLOEXEC)) in sys_posix_openpt()
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 142 bsd_flags |= O_NOCTTY; in linux_common_openflags() 173 if (bsd_flags & O_NOCTTY) in linux_common_open()
|