Home
last modified time | relevance | path

Searched refs:O_NOCTTY (Results 1 – 25 of 83) sorted by relevance

1234

/external/openssh/openbsd-compat/
Dbsd-openpty.c68 #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()
142 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty()
146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty()
166 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) in openpty()
169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { in openpty()
194 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()
[all …]
/external/strace/xlat/
Dopen_mode_flags.h57 #if defined(O_NOCTTY) || (defined(HAVE_DECL_O_NOCTTY) && HAVE_DECL_O_NOCTTY)
59 static_assert((O_NOCTTY) == (04000), "O_NOCTTY != 04000");
62 # define O_NOCTTY 04000
65 #if defined(O_NOCTTY) || (defined(HAVE_DECL_O_NOCTTY) && HAVE_DECL_O_NOCTTY)
67 static_assert((O_NOCTTY) == (010000), "O_NOCTTY != 010000");
70 # define O_NOCTTY 010000
73 #if defined(O_NOCTTY) || (defined(HAVE_DECL_O_NOCTTY) && HAVE_DECL_O_NOCTTY)
75 static_assert((O_NOCTTY) == (0100000), "O_NOCTTY != 0100000");
78 # define O_NOCTTY 0100000
81 #if defined(O_NOCTTY) || (defined(HAVE_DECL_O_NOCTTY) && HAVE_DECL_O_NOCTTY)
[all …]
Dopen_mode_flags.in20 O_NOCTTY 04000
22 O_NOCTTY 010000
24 O_NOCTTY 0100000
26 O_NOCTTY 0400000
28 O_NOCTTY 0400
/external/openssh/
Dsshpty.c45 #ifndef O_NOCTTY
46 #define O_NOCTTY 0 macro
117 fd = open(tty, O_RDWR|O_NOCTTY); in pty_make_controlling_tty()
139 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
152 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY); in pty_make_controlling_tty()
259 if ((fd = open(_PATH_TTY, O_RDWR | O_NOCTTY)) >= 0) { in disconnect_controlling_tty()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h29 #ifndef O_NOCTTY
30 #define O_NOCTTY 00000400 /* not fcntl */ macro
/external/ltp/testcases/kernel/fs/doio/
Dopen_flags.c126 #if O_NOCTTY
127 {"O_NOCTTY", O_NOCTTY},
/external/linux-kselftest/tools/testing/selftests/filesystems/
Ddevpts_pts.c105 master = open(ptmx, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
123 slave = ioctl(master, TIOCGPTPEER, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
/external/toybox/toys/other/
Dfsync.c31 loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC|WARN_ONLY, in fsync_main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h20 #define O_NOCTTY 0x0800 /* not fcntl */ macro
/external/syzkaller/sys/freebsd/
Dposix_fs_amd64.const10 O_NOCTTY = 32768
Dposix_fs.txt69 …R, O_APPEND, FASYNC, O_CLOEXEC, O_CREAT, O_DIRECT, O_DIRECTORY, O_EXCL, O_NOCTTY, O_NOFOLLOW, O_NO…
/external/syzkaller/sys/netbsd/
Dfs_amd64.const13 O_NOCTTY = 32768
Dfs.txt66 …O_NOFOLLOW, O_CLOEXEC, O_NOSIGPIPE, O_DSYNC, O_SYNC, O_RSYNC, O_ALT_IO, O_NOCTTY, O_DIRECT, O_DIRE…
/external/syzkaller/sys/fuchsia/
Dposix_amd64.const17 O_NOCTTY = 512
Dposix_arm64.const17 O_NOCTTY = 512
/external/toybox/toys/net/
Dmicrocom.c45 TT.fd = xopen(*toys.optargs, O_RDWR | O_NOCTTY | O_NDELAY); in microcom_main()
/external/strace/tests-m32/
Dopenat.c91 { ARG_STR(O_NOCTTY) }, in main()
/external/strace/tests/
Dopenat.c91 { ARG_STR(O_NOCTTY) }, in main()
/external/strace/tests-mx32/
Dopenat.c91 { ARG_STR(O_NOCTTY) }, in main()
/external/syzkaller/sys/akaros/
Dsys_amd64.const63 O_NOCTTY = 256
/external/python/cpython2/Lib/
Dgetpass.py45 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY)
/external/python/cpython3/Lib/
Dgetpass.py48 fd = os.open('/dev/tty', os.O_RDWR|os.O_NOCTTY)
/external/minijail/linux-x86/
Dlibconstants.gen.c710 #ifdef O_NOCTTY
711 { "O_NOCTTY", (unsigned long) O_NOCTTY },
/external/python/cpython2/Lib/plat-irix5/
DFILE.py169 O_NOCTTY = 0x800 variable
/external/syzkaller/vm/vmimpl/
Dconsole.go20 fd, err := syscall.Open(con, syscall.O_RDONLY|syscall.O_NOCTTY|syscall.O_SYNC, 0)

1234