Home
last modified time | relevance | path

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

/OK3568_Linux_fs/yocto/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);
/OK3568_Linux_fs/buildroot/package/patch/
H A D0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch44 + int tmpfd;
55 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0);
56 + if (tmpfd == -1)
58 + tmpfp = fdopen (tmpfd, "w+b");
115 + if (lseek (tmpfd, 0, SEEK_SET) == -1)
136 + dup2 (tmpfd, 0);
H A D0004-Invoke-ed-directly-instead-of-using-the-shell.patch32 dup2 (tmpfd, 0);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/wifi-test-suite/files/
H A D0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch35 tmpfd = fopen("/tmp/processid.txt", "r+");