Home
last modified time | relevance | path

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

12

/linux-6.15/tools/testing/selftests/pid_namespace/
H A Dpid_max.c56 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_cb()
102 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_inner()
177 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()
303 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_outer()
/linux-6.15/include/uapi/asm-generic/
H A Dfcntl.h28 #ifndef O_NOCTTY
29 #define O_NOCTTY 00000400 /* not fcntl */ macro
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_bind_mount.c149 pidfd = open(proc_path, O_RDONLY | O_NOCTTY | O_CLOEXEC); in TEST_F()
175 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-6.15/arch/parisc/include/uapi/asm/
H A Dfcntl.h12 #define O_NOCTTY 000400000 /* not fcntl */ macro
/linux-6.15/arch/mips/include/uapi/asm/
H A Dfcntl.h20 #define O_NOCTTY 0x0800 /* not fcntl */ macro
/linux-6.15/arch/alpha/include/uapi/asm/
H A Dfcntl.h8 #define O_NOCTTY 010000 /* not fcntl */ macro
/linux-6.15/arch/sparc/include/uapi/asm/
H A Dfcntl.h17 #define O_NOCTTY 0x8000 /* not fcntl */ macro
/linux-6.15/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.c297 ret = open(path_ns, O_RDONLY | O_CLOEXEC | O_NOCTTY); in get_userns_fd_from_idmap()
/linux-6.15/rust/kernel/fs/
H A Dfile.rs51 pub const O_NOCTTY: u32 = bindings::O_NOCTTY; constant
/linux-6.15/include/linux/
H A Dfcntl.h10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
/linux-6.15/include/trace/misc/
H A Dfs.h30 { O_NOCTTY, "O_NOCTTY" }, \
/linux-6.15/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-6.15/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-6.15/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-6.15/tools/testing/selftests/openat2/
H A Dopenat2_test.c189 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
/linux-6.15/fs/overlayfs/
H A Dfile.c216 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in ovl_open()
/linux-6.15/security/integrity/ima/
H A Dima_crypto.c551 O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL); in ima_calc_file_hash()
/linux-6.15/fs/9p/
H A Dvfs_inode_dotl.c171 { O_NOCTTY, P9_DOTL_NOCTTY }, in v9fs_mapped_dotl_flags()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c238 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux-6.15/fs/
H A Dopen.c972 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in do_dentry_open()
/linux-6.15/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c197 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
/linux-6.15/fs/fuse/
H A Ddir.c650 flags &= ~O_NOCTTY; in fuse_create_open()
/linux-6.15/drivers/tty/
H A Dtty_io.c2172 noctty = (filp->f_flags & O_NOCTTY) || in tty_open()

12