Hurd: Implement chdir support in posix_spawn
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 7 Nov 2018 11:37:05 +0000 (12:37 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 10 Nov 2018 10:45:13 +0000 (10:45 +0000)
commit434c34bd8e3fe5b5dd951c74aef3f0b71d0e08c2
tree72a5f192501f698983cfb071930545e9efa49afb
parent1626a1cfcd6ba1cc64721be1036c2873211d499b
Hurd: Implement chdir support in posix_spawn

This fixes build-many-glibcs.py on i686-gnu.

Thanks Florian Weimer for the initial version.

* sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
it, free it if needed.
(reauthenticate): Test and use ccwdir.
(child_init_port): In non-resetids case, test and use ccwdir.
(child_chdir): New nested function to set ccwdir.
ChangeLog
sysdeps/mach/hurd/spawni.c