Files
semi-libc/include
Rich Felker fe61a7aa53 rework mechanism for posix_spawnp calling posix_spawn
previously, a common __posix_spawnx backend was used that accepted an
additional argument for the execve variant to call in the child. this
moderately bloated up the posix_spawn function, shuffling arguments
between stack and/or registers to call a 7-argument function from a
6-argument one.

instead, tuck the exec function pointer in an unused part of the
(large) pthread_spawnattr_t structure, and have posix_spawnp duplicate
the attributes and fill in a pointer to __execvpe. the net code size
change is minimal, but the weight is shifted to the "heavier" function
which already pulls in more dependencies.

as a bonus, we get rid of an external symbol (__posix_spawnx) that had
no really good place for a declaration because it shouldn't have
existed to begin with.
2018-09-12 14:34:32 -04:00
..
2013-07-03 18:07:50 +02:00
2012-05-06 16:35:32 -04:00
2016-08-30 16:39:54 -04:00
2011-02-12 00:22:29 -05:00
2012-09-08 18:16:33 -04:00
2011-02-12 00:22:29 -05:00
2014-06-21 19:24:15 -04:00
2011-02-14 21:59:38 -05:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2018-06-26 16:59:12 -04:00
2014-07-31 02:38:23 -04:00
2011-04-05 15:40:36 -04:00
2018-03-28 15:53:45 -04:00
2011-02-12 00:22:29 -05:00
2018-03-10 18:19:40 -05:00
2016-10-20 16:55:32 -04:00
2013-01-04 20:36:34 +01:00