You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rich Felker
a0473a0c82
remove explicit locking to prevent __synccall setuid during posix_spawn
for the duration of the vm-sharing clone used by posix_spawn, all
signals are blocked in the parent process, including
implementation-internal signals. since __synccall cannot do anything
until successfully signaling all threads, the fact that signals are
blocked automatically yields the necessary safety.
aside from debloating and general simplification, part of the
motivation for removing the explicit lock is to simplify the
synchronization logic of __synccall in hopes that it can be made
async-signal-safe, which is needed to make setuid and setgid, which
depend on __synccall, conform to the standard. whether this will be
possible remains to be seen.
13 years ago
..
i386
support vfork on i386
15 years ago
x86_64
x86_64 vfork implementation
14 years ago
execl.c
correct variadic prototypes for execl* family
15 years ago
execle.c
correct variadic prototypes for execl* family
15 years ago
execlp.c
correct variadic prototypes for execl* family
15 years ago
execv.c
initial check-in, version 0.5.0
15 years ago
execve.c
global cleanup to use the new syscall interface
15 years ago
execvp.c
consistently use the internal name __environ for environ
13 years ago
fdop.h
overhaul posix_spawn to use CLONE_VM instead of vfork
13 years ago
fexecve.c
fix various bugs in path and error handling in execvp/fexecve
15 years ago
fork.c
clean up sloppy nested inclusion from pthread_impl.h
14 years ago
posix_spawn.c
remove explicit locking to prevent __synccall setuid during posix_spawn
13 years ago
posix_spawn_file_actions_addclose.c
fix backwards posix_spawn file action order
15 years ago
posix_spawn_file_actions_adddup2.c
overhaul posix_spawn to use CLONE_VM instead of vfork
13 years ago
posix_spawn_file_actions_addopen.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawn_file_actions_destroy.c
add file actions support to posix_spawn
15 years ago
posix_spawn_file_actions_init.c
initial implementation of posix_spawn
15 years ago
posix_spawnattr_destroy.c
add missing posix_spawnattr_init/destroy functions
15 years ago
posix_spawnattr_getflags.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawnattr_getpgroup.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawnattr_getsigdefault.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawnattr_getsigmask.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawnattr_init.c
add missing posix_spawnattr_init/destroy functions
15 years ago
posix_spawnattr_sched.c
fix up minor misplacement of restrict keyword in spawnattr sched stubs
13 years ago
posix_spawnattr_setflags.c
initial implementation of posix_spawn
15 years ago
posix_spawnattr_setpgroup.c
initial implementation of posix_spawn
15 years ago
posix_spawnattr_setsigdefault.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawnattr_setsigmask.c
use restrict everywhere it's required by c99 and/or posix 2008
14 years ago
posix_spawnp.c
fix parent-memory-clobber in posix_spawn (environ)
14 years ago
system.c
remove cruft from pre-posix_spawn version of the system function
13 years ago
vfork.c
make available a namespace-safe vfork, if supported
15 years ago
wait.c
initial check-in, version 0.5.0
15 years ago
waitid.c
overhaul pthread cancellation
15 years ago
waitpid.c
overhaul pthread cancellation
15 years ago