| /linux-6.15/tools/testing/selftests/pid_namespace/ |
| H A D | pid_max.c | 56 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 D | fcntl.h | 28 #ifndef O_NOCTTY 29 #define O_NOCTTY 00000400 /* not fcntl */ macro
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_bind_mount.c | 149 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 D | pidfd_file_handle_test.c | 398 { O_NOCTTY, "O_NOCTTY" }, in TEST_F()
|
| /linux-6.15/arch/parisc/include/uapi/asm/ |
| H A D | fcntl.h | 12 #define O_NOCTTY 000400000 /* not fcntl */ macro
|
| /linux-6.15/arch/mips/include/uapi/asm/ |
| H A D | fcntl.h | 20 #define O_NOCTTY 0x0800 /* not fcntl */ macro
|
| /linux-6.15/arch/alpha/include/uapi/asm/ |
| H A D | fcntl.h | 8 #define O_NOCTTY 010000 /* not fcntl */ macro
|
| /linux-6.15/arch/sparc/include/uapi/asm/ |
| H A D | fcntl.h | 17 #define O_NOCTTY 0x8000 /* not fcntl */ macro
|
| /linux-6.15/tools/testing/selftests/filesystems/ |
| H A D | devpts_pts.c | 105 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 D | utils.c | 297 ret = open(path_ns, O_RDONLY | O_CLOEXEC | O_NOCTTY); in get_userns_fd_from_idmap()
|
| /linux-6.15/rust/kernel/fs/ |
| H A D | file.rs | 51 pub const O_NOCTTY: u32 = bindings::O_NOCTTY; constant
|
| /linux-6.15/include/linux/ |
| H A D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
| /linux-6.15/include/trace/misc/ |
| H A D | fs.h | 30 { O_NOCTTY, "O_NOCTTY" }, \
|
| /linux-6.15/tools/arch/x86/dell-uart-backlight-emulator/ |
| H A D | dell-uart-backlight-emulator.c | 53 serial_fd = open(argv[1], O_RDWR | O_NOCTTY); in main()
|
| /linux-6.15/Documentation/driver-api/tty/ |
| H A D | n_gsm.rst | 55 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 D | move_mount_set_group_test.c | 64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
| /linux-6.15/tools/testing/selftests/openat2/ |
| H A D | openat2_test.c | 189 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
|
| /linux-6.15/fs/overlayfs/ |
| H A D | file.c | 216 file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); in ovl_open()
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_crypto.c | 551 O_TRUNC | O_CREAT | O_NOCTTY | O_EXCL); in ima_calc_file_hash()
|
| /linux-6.15/fs/9p/ |
| H A D | vfs_inode_dotl.c | 171 { O_NOCTTY, P9_DOTL_NOCTTY }, in v9fs_mapped_dotl_flags()
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | token.c | 238 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
| /linux-6.15/fs/ |
| H A D | open.c | 972 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 D | mount_setattr_test.c | 197 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file()
|
| /linux-6.15/fs/fuse/ |
| H A D | dir.c | 650 flags &= ~O_NOCTTY; in fuse_create_open()
|
| /linux-6.15/drivers/tty/ |
| H A D | tty_io.c | 2172 noctty = (filp->f_flags & O_NOCTTY) || in tty_open()
|