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.
This commit is contained in:
Rich Felker
2012-05-22 22:43:27 -04:00
parent af3330d764
commit 0c29adfe42
4 changed files with 0 additions and 78 deletions

View File

@ -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 *);