mailing list of musl libc
 help / color / mirror / code / Atom feed
88e6b9d40d7d99609f6e751a5abb8453def73dda blob 245 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 
#include <unistd.h>
#include <errno.h>
#include "procfdname.h"

int fexecve(int fd, char *const argv[], char *const envp[])
{
	char buf[procfdbufsize];
	execve(procfdname(buf, fd), argv, envp);
	if (errno == ENOENT) errno = EBADF;
	return -1;
}
debug log:

solving 88e6b9d ...
found 88e6b9d in https://inbox.vuxu.org/musl/alpine.LNX.2.20.1602211426390.21162@monopod.intra.ispras.ru/
found 6507b42 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 6507b42949c915e757bfa71935388a0ea4e0a15d	src/process/fexecve.c

applying [1/1] https://inbox.vuxu.org/musl/alpine.LNX.2.20.1602211426390.21162@monopod.intra.ispras.ru/
diff --git a/src/process/fexecve.c b/src/process/fexecve.c
index 6507b42..88e6b9d 100644

Checking patch src/process/fexecve.c...
Applied patch src/process/fexecve.c cleanly.

index at:
100644 88e6b9d40d7d99609f6e751a5abb8453def73dda	src/process/fexecve.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).