Home
last modified time | relevance | path

Searched refs:fromfd (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcopyfile.c76 int fromfd, tofd; in copyfile_mode_ns() local
115 fromfd = open(from, O_RDONLY); in copyfile_mode_ns()
117 if (fromfd < 0) in copyfile_mode_ns()
120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); in copyfile_mode_ns()
122 close(fromfd); in copyfile_mode_ns()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A DCVE-2019-13636.patch78 int fromfd;
81 - if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
84 + if ((fromfd = safe_open (from, from_flags, 0)) < 0)
86 while ((i = read (fromfd, buf, bufsize)) != 0)
/OK3568_Linux_fs/buildroot/package/patch/
H A D0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch76 int fromfd;
79 - if ((fromfd = safe_open (from, O_RDONLY | O_BINARY, 0)) < 0)
82 + if ((fromfd = safe_open (from, from_flags, 0)) < 0)
84 while ((i = read (fromfd, buf, bufsize)) != 0)
/OK3568_Linux_fs/kernel/tools/testing/selftests/capabilities/
H A Dtest_execve.c154 static void copy_fromat_to(int fromfd, const char *fromname, const char *toname) in copy_fromat_to() argument
156 int from = openat(fromfd, fromname, O_RDONLY); in copy_fromat_to()