| /OK3568_Linux_fs/kernel/tools/testing/selftests/wireguard/qemu/ |
| H A D | init.c | 72 fd = open("/dev/urandom", O_WRONLY); in seed_rng() 113 fd = open("/proc/sys/kernel/printk", O_WRONLY); in enable_logging() 119 fd = open("/proc/sys/debug/exception-trace", O_WRONLY); in enable_logging() 125 fd = open("/proc/sys/kernel/panic_on_warn", O_WRONLY); in enable_logging() 200 fd = open(success_dev, O_WRONLY); in launch_tests() 243 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in clear_leaks() 255 fd = open("/sys/kernel/debug/kmemleak", O_WRONLY); in check_leaks()
|
| /OK3568_Linux_fs/yocto/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)
|
| /OK3568_Linux_fs/buildroot/package/patch/ |
| H A D | 0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch | 66 - while ((fd = safe_open (bakname, O_CREAT | O_WRONLY | O_TRUNC, 0666)) < 0) 67 + while ((fd = safe_open (bakname, O_CREAT | O_EXCL | O_WRONLY | O_TRUNC, 0666)) < 0) 92 tofd = create_file (to, O_WRONLY | O_BINARY | to_flags, mode, 99 + int to_flags = O_WRONLY | O_APPEND | O_BINARY; 102 - if ((tofd = safe_open (to, O_WRONLY | O_BINARY | O_APPEND, 0)) < 0)
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/beep/files/ |
| H A D | linux-input.patch | 110 - if((console_fd = open("/dev/console", O_WRONLY)) == -1) { 114 + console_fd = open(console_device, O_WRONLY); 116 + if((console_fd = open("/dev/input/event0", O_WRONLY)) == -1) 117 + if((console_fd = open("/dev/tty0", O_WRONLY)) == -1) 118 + console_fd = open("/dev/vc/0", O_WRONLY);
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/buildroot/package/duma/ |
| H A D | 0004-Fix-build-with-latest-glibc.patch | 18 - fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY); 19 + fd = open(DUMA_OUTPUT_FILE, O_APPEND|O_CREAT|O_WRONLY, 0600);
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/safesetid/ |
| H A D | safesetid-test.c | 58 fd = open(filename, O_WRONLY); in vmaybe_write_file() 125 int fd = open(add_whitelist_policy_file, O_WRONLY); in ensure_securityfs_mounted() 153 fd = open(add_whitelist_policy_file, O_WRONLY); in write_policies()
|
| /OK3568_Linux_fs/u-boot/fs/yaffs2/ |
| H A D | yportenv.h | 101 #ifndef O_WRONLY 102 #define O_WRONLY 01 macro
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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, 1529 } else if (test->open_flags == O_WRONLY) { in access_sysctl()
|
| /OK3568_Linux_fs/kernel/samples/watchdog/ |
| H A D | watchdog-simple.c | 9 int fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_watchdogrestart/ |
| H A D | watchdogrestart.c | 19 fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /OK3568_Linux_fs/kernel/tools/usb/usbip/libsrc/ |
| H A D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
| /OK3568_Linux_fs/app/forlinx/forlinx_cmd/fltest_watchdog/ |
| H A D | watchdog.c | 36 fd = open("/dev/watchdog", O_WRONLY); in main()
|
| /OK3568_Linux_fs/kernel/tools/cgroup/ |
| H A D | cgroup_event_listener.c | 43 event_control = open(event_control_path, O_WRONLY); in main()
|
| /OK3568_Linux_fs/kernel/Documentation/input/ |
| H A 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);
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/timens/ |
| H A D | timens.h | 74 fd = open("/proc/self/timens_offsets", O_WRONLY); in _settime()
|
| H A D | futex.c | 80 fd = open("/proc/self/timens_offsets", O_WRONLY); in main()
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | tty.c | 50 mode = O_WRONLY; in tty_open()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fcntl.h | 10 (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/utils/helpers/ |
| H A D | msr.c | 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/preload/iterators/ |
| H A D | iterators.c | 45 debug_fd = open("/dev/console", O_WRONLY | O_NOCTTY | O_CLOEXEC); in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 49 fd = open(filename, O_WRONLY); in vmaybe_write_file() 160 int to = open(toname, O_CREAT | O_WRONLY | O_EXCL, 0700); in copy_fromat_to()
|
| /OK3568_Linux_fs/kernel/kernel/power/ |
| H A D | user.c | 85 data->mode = O_WRONLY; in snapshot_open() 317 if (data->mode != O_WRONLY || !data->frozen || in snapshot_ioctl()
|
| /OK3568_Linux_fs/u-boot/board/samsung/smdkv310/tools/ |
| H A D | mksmdkv310spl.c | 52 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main()
|