summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-22 22:43:27 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-22 22:43:27 -0400
commit0c29adfe427ab6ed98cb73644f8f52a76045245c (patch)
tree5703af4273b5341688b84472cdcef2c63b5c84b0 /include
parentaf3330d7648627816fbc82aa3247419e8a528230 (diff)
downloadmusl-0c29adfe427ab6ed98cb73644f8f52a76045245c.tar.gz
musl-0c29adfe427ab6ed98cb73644f8f52a76045245c.tar.bz2
musl-0c29adfe427ab6ed98cb73644f8f52a76045245c.tar.xz
musl-0c29adfe427ab6ed98cb73644f8f52a76045245c.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h1
1 files changed, 0 insertions, 1 deletions
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 *);