Lines Matching refs:stub_exe_fd
280 static int stub_exe_fd;
354 syscall(__NR_execveat, stub_exe_fd, (unsigned long)"",
376 stub_exe_fd = memfd_create("uml-userspace",
379 if (stub_exe_fd < 0) {
390 stub_exe_fd = mkstemp(tmpfile);
391 if (stub_exe_fd < 0)
397 ssize_t res = write(stub_exe_fd, stub_exe_start + written,
412 fcntl(stub_exe_fd, F_ADD_SEALS,
415 if (fchmod(stub_exe_fd, 00500) < 0) {
421 close(stub_exe_fd);
422 stub_exe_fd = open(tmpfile, O_RDONLY | O_CLOEXEC | O_NOFOLLOW);
423 if (stub_exe_fd < 0) {