Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/pid_namespace/
H A Dpid_max.c57 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_cb()
103 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_inner()
178 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_outer()
247 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_inner()
304 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_outer()
/linux/include/uapi/asm-generic/
H A Dfcntl.h28 #ifndef O_NOCTTY
29 #define O_NOCTTY 00000400 /* not fcntl */ macro
/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.c398 { O_NOCTTY, "O_NOCTTY" }, in TEST_F()
/linux/tools/testing/selftests/filesystems/
H A 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()
H A Dutils.c300 ret = open(path_ns, O_RDONLY | O_CLOEXEC | O_NOCTTY); in get_userns_fd_from_idmap()
/linux/rust/kernel/fs/
H A Dfile.rs58 pub const O_NOCTTY: u32 = bindings::O_NOCTTY; constant
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h12 #define O_NOCTTY 000400000 /* not fcntl */ macro
/linux/arch/mips/include/uapi/asm/
H A Dfcntl.h20 #define O_NOCTTY 0x0800 /* not fcntl */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h8 #define O_NOCTTY 010000 /* not fcntl */ macro
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h17 #define O_NOCTTY 0x8000 /* not fcntl */ macro
/linux/include/linux/
H A Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
H A Dnet.h84 #define SOCK_COREDUMP O_NOCTTY
/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.c189 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
/linux/kernel/trace/
H A Dtrace_syscalls.c166 { 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.c551 O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL); in ima_calc_file_hash()
/linux/fs/9p/
H A Dvfs_inode_dotl.c171 { O_NOCTTY, P9_DOTL_NOCTTY }, in v9fs_mapped_dotl_flags()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c233 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux/fs/
H A Dopen.c965 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in do_dentry_open()
/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()

12