mirror of
https://github.com/fluencelabs/musl
synced 2025-06-13 23:11:51 +00:00
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:
@ -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 *);
|
||||
|
Reference in New Issue
Block a user