Home
last modified time | relevance | path

Searched refs:tmpfd (Results 1 – 6 of 6) sorted by relevance

/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/
H A D0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch54 int tmpfd;
61 - tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
62 + tmpfd = make_tempfile (&TMPEDNAME, 'e', NULL, O_RDWR | O_BINARY, 0);
63 if (tmpfd == -1)
67 tmpfp = fdopen (tmpfd, "w+b");
77 if (lseek (tmpfd, 0, SEEK_SET) == -1)
H A D0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch43 + int tmpfd;
54 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
55 + if (tmpfd == -1)
57 + tmpfp = fdopen (tmpfd, "w+b");
114 + if (lseek (tmpfd, 0, SEEK_SET) == -1)
135 + dup2 (tmpfd, 0);
H A D0001-Invoke-ed-directly-instead-of-using-the-shell.patch35 dup2 (tmpfd, 0);
/openbmc/qemu/util/
H A Doslib-win32.c331 int tmpfd; in qemu_socketpair() local
340 tmpfd = g_file_open_tmp(NULL, &path, NULL); in qemu_socketpair()
341 if (tmpfd == -1 || !path) { in qemu_socketpair()
346 close(tmpfd); in qemu_socketpair()
/openbmc/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c49 int dfd, tmpfd; in setup_testdir() local
65 tmpfd = openat(dfd, "root", O_PATH | O_DIRECTORY); in setup_testdir()
66 if (tmpfd < 0) in setup_testdir()
69 dfd = tmpfd; in setup_testdir()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wifi-test-suite/files/
H A D0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch37 tmpfd = fopen("/tmp/processid.txt", "r+");