/openbmc/linux/tools/testing/selftests/wireguard/qemu/ |
H A 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()
|
/openbmc/qemu/trace/ |
H A D | ftrace.c | 61 trace_fd = open(path, O_WRONLY); in ftrace_init() 64 trace_marker_fd = open("/dev/null", O_WRONLY); in ftrace_init() 84 trace_marker_fd = open(path, O_WRONLY); in ftrace_init()
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 842 ASSERT_EQ(0, test_open(file1_s1d1, O_WRONLY)); in TEST_F_FORK() 845 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK() 879 ASSERT_EQ(0, test_open(file1_s1d2, O_WRONLY)); in TEST_F_FORK() 885 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK() 941 ASSERT_EQ(0, test_open(file1_s1d3, O_WRONLY)); in TEST_F_FORK() 3525 fd_layer0 = open(path, O_WRONLY); in TEST_F_FORK() 3533 fd_layer1 = open(path, O_WRONLY); in TEST_F_FORK() 3542 fd_layer2 = open(path, O_WRONLY); in TEST_F_FORK() 3552 fd_layer3 = open(path, O_WRONLY); in TEST_F_FORK() 3651 fd = open(path, O_WRONLY); in TEST_F_FORK() [all …]
|
/openbmc/linux/tools/testing/selftests/tmpfs/ |
H A 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()
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/ |
H A D | CVE-2019-13636.patch | 68 - while ((fd = safe_open (bakname, O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0) 69 + while ((fd = safe_open (bakname, O_CREAT | O_EXCL | O_WRONLY | O_TRUNC, 0666)) < 0) 94 tofd = create_file (to, O_WRONLY | O_BINARY | to_flags, mode, 101 + int to_flags = O_WRONLY | O_APPEND | O_BINARY; 104 - if ((tofd = safe_open (to, O_WRONLY | O_BINARY | O_APPEND, 0)) < 0)
|
/openbmc/linux/fs/lockd/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A 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()
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yportenv.h | 101 #ifndef O_WRONLY 102 #define O_WRONLY 01 macro
|
/openbmc/linux/tools/testing/selftests/firmware/ |
H A 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()
|
/openbmc/qemu/tests/unit/ |
H A D | test-io-channel-file.c | 78 test_io_channel_file_helper(O_WRONLY | O_CREAT | O_TRUNC | O_BINARY); in test_io_channel_file() 91 fd = open(TEST_FILE, O_CREAT | O_TRUNC | O_WRONLY, 0600); in test_io_channel_fd()
|
/openbmc/linux/tools/testing/selftests/safesetid/ |
H A 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()
|
/openbmc/linux/samples/watchdog/ |
H A D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
/openbmc/linux/tools/usb/usbip/libsrc/ |
H A D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
/openbmc/qemu/backends/tpm/ |
H A D | tpm_passthrough.c | 218 fd = qemu_open_old(tpm_pt->options->cancel_path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel() 236 fd = qemu_open_old(path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel() 240 fd = qemu_open_old(path, O_WRONLY); in tpm_passthrough_open_sysfs_cancel()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/beep/files/ |
H A D | 0001-beep-library-Make-it-compatible-with-c99.patch | 27 - const int fd = open(device_name, O_WRONLY); 28 + fd = open(device_name, O_WRONLY);
|
/openbmc/obmc-console/ |
H A D | log-handler.c | 66 lh->fd = open(lh->log_filename, O_WRONLY | O_CREAT | O_TRUNC, 0644); in log_trim() 134 lh->fd = open(lh->log_filename, O_WRONLY | O_CREAT | O_APPEND, 0644); in log_create()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0017-img2simg-Add-support-for-converting-holes-to-don-t-c.patch | 95 - out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 96 + out = open(arg_out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
/openbmc/qemu/migration/ |
H A D | file.c | 66 int flags = O_WRONLY; in file_send_channel_create() 106 fioc = qio_channel_file_new_path(filename, O_CREAT | O_WRONLY, 0600, errp); in file_start_outgoing_migration()
|
/openbmc/linux/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 61 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
/openbmc/linux/tools/cgroup/ |
H A D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY); in main()
|
/openbmc/linux/fs/nfsd/ |
H A D | lockd.c | 41 access = (mode == O_WRONLY) ? NFSD_MAY_WRITE : NFSD_MAY_READ; in nlm_fopen()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 58 fd = open(path, O_WRONLY); in write_file() 256 fd = open(testfile, O_CREAT|O_WRONLY, 0664); in split_file_backed_thp()
|
/openbmc/linux/arch/um/drivers/ |
H A D | tty.c | 50 mode = O_WRONLY; in tty_open()
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | timens.h | 74 fd = open("/proc/self/timens_offsets", O_WRONLY); in _settime()
|