From 0c29adfe427ab6ed98cb73644f8f52a76045245c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 22 May 2012 22:43:27 -0400 Subject: remove everything related to forkall i made a best attempt, but the intended semantics of this function are fundamentally contradictory. there is no consistent way to handle ownership of locks when forking a multi-threaded process. the code could have worked by accident for programs that only used normal mutexes and nothing else (since they don't actually store or care about their owner), but that's about it. broken-by-design interfaces that aren't even in glibc (only solaris) don't belong in musl. --- include/unistd.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/unistd.h b/include/unistd.h index 693c54dc..e4e3ac59 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -168,7 +168,6 @@ char *getusershell(void); #endif #ifdef _GNU_SOURCE -pid_t forkall(void); int setresuid(uid_t, uid_t, uid_t); int setresgid(gid_t, gid_t, gid_t); int getresuid(uid_t *, uid_t *, uid_t *); -- cgit v1.2.1