| /Linux-v6.6/tools/testing/selftests/wireguard/qemu/ |
| D | init.c | 66 fd = open("/dev/random", O_WRONLY); in seed_rng() 114 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging() 120 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging() 195 fd = open(success_dev, O_WRONLY); in launch_tests() 238 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in clear_leaks() 250 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in check_leaks()
|
| /Linux-v6.6/tools/testing/selftests/landlock/ |
| D | fs_test.c | 840 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() 843 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK() 871 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() 877 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK() 883 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK() 927 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() 933 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK() 939 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK() 952 ASSERT_EQ(EACCES, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() 958 ASSERT_EQ(EACCES, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK() [all …]
|
| /Linux-v6.6/fs/lockd/ |
| D | svcsubs.c | 76 return (lock->fl_type == F_WRLCK) ? O_WRONLY : O_RDONLY; in lock_to_openmode() 171 if (file->f_file[O_WRONLY]) in nlm_delete_file() 172 nlmsvc_ops->fclose(file->f_file[O_WRONLY]); in nlm_delete_file() 194 lock.fl_file = file->f_file[O_WRONLY]; in nlm_unlock_files() 291 if (file->f_file[O_WRONLY]) in nlm_close_files() 292 nlmsvc_ops->fclose(file->f_file[O_WRONLY]); in nlm_close_files()
|
| /Linux-v6.6/tools/testing/selftests/tmpfs/ |
| D | bug-link-o-tmpfile.c | 49 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main() 60 fd = openat(AT_FDCWD, "/tmp", O_WRONLY|O_TMPFILE, 0600); in main()
|
| /Linux-v6.6/include/linux/ |
| D | filelock.h | 382 ret = break_deleg(inode, O_WRONLY|O_NONBLOCK); in try_break_deleg() 394 ret = break_deleg(*delegated_inode, O_WRONLY); in break_deleg_wait() 405 wait ? O_WRONLY : O_WRONLY | O_NONBLOCK, in break_layout()
|
| D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
| /Linux-v6.6/tools/testing/selftests/firmware/ |
| D | fw_namespace.c | 43 fd = open(sys_path, O_WRONLY); in trigger_fw() 57 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw()
|
| /Linux-v6.6/tools/testing/selftests/safesetid/ |
| D | safesetid-test.c | 70 fd = open(filename, O_WRONLY); in vmaybe_write_file() 165 int fd = open(add_uid_whitelist_policy_file, O_WRONLY); in ensure_securityfs_mounted() 189 fd = open(add_uid_whitelist_policy_file, O_WRONLY); in write_uid_policies() 213 fd = open(add_gid_whitelist_policy_file, O_WRONLY); in write_gid_policies()
|
| /Linux-v6.6/tools/testing/selftests/bpf/ |
| D | test_sysctl.c | 119 .open_flags = O_WRONLY, 142 .open_flags = O_WRONLY, 638 .open_flags = O_WRONLY, 708 .open_flags = O_WRONLY, 758 .open_flags = O_WRONLY, 797 .open_flags = O_WRONLY, 866 .open_flags = O_WRONLY, 1378 .open_flags = O_WRONLY, 1523 } else if (test->open_flags == O_WRONLY) { in access_sysctl()
|
| /Linux-v6.6/samples/watchdog/ |
| D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /Linux-v6.6/tools/usb/usbip/libsrc/ |
| D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
| /Linux-v6.6/tools/testing/selftests/mm/ |
| D | split_huge_page_test.c | 58 fd = open(path, O_WRONLY); in write_file() 256 fd = open(testfile, O_CREAT|O_WRONLY); in split_file_backed_thp()
|
| /Linux-v6.6/tools/power/cpupower/utils/helpers/ |
| D | msr.c | 61 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
| /Linux-v6.6/fs/nfsd/ |
| D | lockd.c | 41 access = (mode == O_WRONLY) ? NFSD_MAY_WRITE : NFSD_MAY_READ; in nlm_fopen()
|
| /Linux-v6.6/tools/cgroup/ |
| D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY); in main()
|
| /Linux-v6.6/arch/um/drivers/ |
| D | tty.c | 50 mode = O_WRONLY; in tty_open()
|
| /Linux-v6.6/tools/testing/selftests/timens/ |
| D | timens.h | 74 fd = open("/proc/self/timens_offsets", O_WRONLY); in _settime()
|
| D | futex.c | 80 fd = open("/proc/self/timens_offsets", O_WRONLY); in main()
|
| /Linux-v6.6/scripts/ |
| D | jobserver-exec | 36 writer = os.open(path, os.O_WRONLY)
|
| /Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | test_bprm_opts.c | 38 null_fd = open("/dev/null", O_WRONLY); in run_set_secureexec()
|
| /Linux-v6.6/scripts/clang-tools/ |
| D | run-clang-tools.py | 76 devnull = os.open(os.devnull, os.O_WRONLY)
|
| /Linux-v6.6/tools/include/uapi/asm-generic/ |
| D | fcntl.h | 21 #define O_WRONLY 00000001 macro
|
| /Linux-v6.6/include/uapi/asm-generic/ |
| D | fcntl.h | 21 #define O_WRONLY 00000001 macro
|
| /Linux-v6.6/include/trace/misc/ |
| D | fs.h | 26 { O_WRONLY, "O_WRONLY" }, \
|
| /Linux-v6.6/Documentation/input/ |
| D | uinput.rst | 66 int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK); 129 int fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK); 198 fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
|