Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/openbmc/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)
/openbmc/phosphor-rest-server/servers/gevent/
H A Dphosphor-gevent81 bind = gevent.socket.fromfd(FIRST_SYSTEMD_SOCKET_FD,
/openbmc/linux/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()
/openbmc/rest-dbus/
H A Drest-dbus378 self.socket = socket.fromfd(