spawn: allow file actions on no-mmu targets
This allows using posix_spawn to safely implement programs like a shell
on a no-mmu system. Only libc knows enough about how things are actually
working in a multi-threaded program to safely break the rules from POSIX
about what is forbidden to do after calling vfork.
Since we are libc, we know the exact semantics of vfork: that it is in
fact safe to call into execute_file_actions and let it perform the few
syscalls needed to perform file actions as they will not trash any global
state.
Fixes: 0dcf66744 ("librt: add posix_spawn support")
Signed-off-by: Charles Mirabile <cmirabil@redhat.com>