Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/pid_namespace/
H A Dpid_max.c121 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_inner()
167 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_outer()
246 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_inner()
322 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_outer()
381 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY);
/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_bind_mount.c77 pidfd = open(proc_path, O_RDONLY | O_NOCTTY | O_CLOEXEC); in TEST_F()
103 fd_pidfd_mnt = openat(-EBADF, self->template, O_RDONLY | O_NOCTTY | O_CLOEXEC); in TEST_F()
H A Dpidfd_file_handle_test.c399 { O_NOCTTY, "O_NOCTTY" }, in TEST_F()
/linux/rust/kernel/fs/
H A Dfile.rs58 pub const O_NOCTTY: u32 = bindings::O_NOCTTY; constant
/linux/tools/testing/selftests/filesystems/
H A Ddevpts_pts.c105 master = open(ptmx, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
122 slave = ioctl(master, TIOCGPTPEER, O_RDWR | O_NOCTTY | O_CLOEXEC); in do_tiocgptpeer()
H A Dutils.c300 ret = open(path_ns, O_RDONLY | O_CLOEXEC | O_NOCTTY); in get_userns_fd_from_idmap()
/linux/include/trace/misc/
H A Dfs.h30 { O_NOCTTY, "O_NOCTTY" }, \
/linux/tools/arch/x86/dell-uart-backlight-emulator/
H A Ddell-uart-backlight-emulator.c53 serial_fd = open(argv[1], O_RDWR | O_NOCTTY); in main()
/linux/Documentation/driver-api/tty/
H A Dn_gsm.rst55 fd = open(SERIAL_PORT, O_RDWR | O_NOCTTY | O_NDELAY);
152 fd = open(SERIAL_PORT, O_RDWR | O_NOCTTY | O_NDELAY);
/linux/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/tools/testing/selftests/openat2/
H A Dopenat2_test.c
/linux/include/linux/
H A Dnet.h128 #define SOCK_COREDUMP O_NOCTTY
/linux/kernel/trace/
H A Dtrace_syscalls.c167 { O_NOCTTY, "O_NOCTTY" }, in sys_enter_openat_print()
413 "{ 0x%x, \"O_NOCTTY\" }, ", O_NOCTTY); in sys_enter_openat_print_fmt()
/linux/fs/overlayfs/
H A Dfile.c216 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in ovl_open()
/linux/security/integrity/ima/
H A Dima_crypto.c267 O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL); in ima_alloc_pages()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c239 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c166 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/fs/fuse/
H A Dfile.c33 inarg.flags = open_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); in fuse_send_open()
/linux/Documentation/cdrom/
H A Dcdrom-standard.rst639 CD-ROM devices: *O_CREAT*, *O_NOCTTY*, *O_TRUNC*, *O_APPEND*, and