87 Commits (129118db4d16e3aea484255413fed3b5150ce201)

Author SHA1 Message Date
Rich Felker 74244e5b3e add posix_spawn [f]chdir file actions 7 years ago
Rich Felker 759900403d prevent dup2 action for posix_spawn internal pipe fd 7 years ago
Samuel Holland 84ebec6cee fix deadlock in synccall after threaded fork 7 years ago
Frediano Ziglio 7fe51ea85b use __strchrnul instead of strchr and strlen in execvpe 7 years ago
Rich Felker 8f11e6127f track all live threads in an AS-safe, fully-consistent linked list 7 years ago
Rich Felker 5ce3737931 reduce spurious inclusion of libc.h 8 years ago
Rich Felker ced75472d7 remove __vfork alias 8 years ago
Rich Felker 13d1afa46f overhaul internally-public declarations using wrapper headers 8 years ago
Rich Felker fe61a7aa53 rework mechanism for posix_spawnp calling posix_spawn 8 years ago
Rich Felker aee11e5acc declare __syscall_ret as hidden in vfork asm 8 years ago
Patrick Oppenlander a8c53794a0 add arm asm for vfork 8 years ago
Rich Felker 6fcd60ddd9 move and deduplicate declarations of __procfdname to make it checkable 8 years ago
Joseph C. Sible e36f80cba6 implement fexecve in terms of execveat when it exists 8 years ago
Rich Felker 1d297a2821 fix return value of system on failure to spawn child process 8 years ago
Rich Felker 6d6102427d convert execvp error handling to switch statement 8 years ago
Przemyslaw Pawelczyk 8e0b38060d fix execvp failing on not-dir entries in PATH. 9 years ago
Bobby Bingham c21051e90c prevent fork's errno from being clobbered by atfork handlers 9 years ago
Rich Felker 6fc6ca1a32 adjust posix_spawn dup2 action behavior to match future requirements 9 years ago
Will Dietz 004dc9549b posix_spawn: use larger stack to cover worst-case in execvpe 9 years ago
Rich Felker f9f686b772 have posix_spawnattr_setflags check for supported flags 9 years ago
Rich Felker bb439bb171 implement new posix_spawn flag POSIX_SPAWN_SETSID 9 years ago
Bobby Bingham 1509494305 add s390x port 10 years ago
Rich Felker 10d0268ccf switch to using trap number 31 for syscalls on sh 11 years ago
Rich Felker ec634aad91 add sh asm for vfork 11 years ago
Rich Felker 19a1fe670a remove remnants of support for running in no-thread-pointer mode 11 years ago
Rich Felker 4e98cce1c5 optimize out setting up robust list with kernel when not needed 11 years ago
Rich Felker 14a0117117 make execvp continue PATH search on EACCES rather than issuing an errror 11 years ago
Rich Felker 8f7bc690f0 use direct syscall rather than write function in posix_spawn child 12 years ago
Rich Felker 1c12c24364 don't fail posix_spawn on failed close 12 years ago
Rich Felker 83dc6eb087 eliminate use of cached pid from thread structure 12 years ago
Rich Felker 0b3d33d4d2 fix ungrammatical comment in posix_spawn code 12 years ago
Rich Felker 5cf9e8f860 additional fixes for linux kernel apis with old syscalls removed 12 years ago
Rich Felker dd5f50da6f support linux kernel apis (new archs) with old syscalls removed 12 years ago
Rich Felker 594c827a22 support kernels with no SYS_open syscall, only SYS_openat 12 years ago
M Farkas-Dyck 164c5c7a32 expose public execvpe interface 12 years ago
Rich Felker dab441aea2 always initialize thread pointer at program start 12 years ago
rofl0r 664cd34192 x32 port (diff against vanilla x86_64) 13 years ago
rofl0r 323272db17 import vanilla x86_64 code as x32 13 years ago
Rich Felker 8011614da0 make posix_spawn accept null pid pointer arguments 12 years ago
Szabolcs Nagy 571744447c include cleanups: remove unused headers and add feature test macros 13 years ago
Szabolcs Nagy c3a43b35cc add missing va_end in execl* for correcness and static code analyzers 13 years ago
Rich Felker 2b2aff37ac fix new environment always being null with execle 13 years ago
Rich Felker 3c5c5e6f92 optimize posix_spawn to avoid spurious sigaction syscalls 13 years ago
Rich Felker 65d7aa4dfd fix missing errno from exec failure in posix_spawn 13 years ago
Rich Felker d4d6d6f322 block signals during fork 13 years ago
Rich Felker c8c0844f7f debloat code that depends on /proc/self/fd/%d with shared function 13 years ago
Rich Felker b06dc66639 make posix_spawn (and functions that use it) use CLONE_VFORK flag 13 years ago
Rich Felker a0473a0c82 remove explicit locking to prevent __synccall setuid during posix_spawn 13 years ago
Rich Felker 7914ce9204 remove cruft from pre-posix_spawn version of the system function 13 years ago
Rich Felker 23ccb80fcb consistently use the internal name __environ for environ 13 years ago