[PATCH 0/1] posix: Add POSIX aliases to some spawn functions
Lucas Chollet
lucas.chollet@free.fr
Mon Mar 30 08:18:38 GMT 2026
Hello,
This patch adds POSIX-specified aliases for both
`posix_spawn_file_actions{,f}chdir_np` functions. They are new in
POSIX-2024.
I ran the test suite and didn't see regressions on x86_64, I also
updated the linux x86_64 abilist file but I'm not exactly sure about
this. When I run `make update-abi` I see another diff:
-GLIBC_2.2.5 _nl_default_dirname D 0x12
+GLIBC_2.2.5 _nl_default_dirname D 0x36
But as this modification also appears when I run `update-abi` on master,
I suppose that I can ignore it.
Also, I only update the linux x86_64 abilist, I don't know if I'm
supposed to update the rest and if I am, I don't know how to do it.
Lucas
Lucas Chollet (1):
posix: Add POSIX aliases to some spawn functions
conform/data/spawn.h-data | 4 +
posix/Versions | 4 +
posix/spawn.h | 20 ++
posix/spawn_faction_addchdir.c | 3 +
posix/spawn_faction_addfchdir.c | 3 +
posix/tst-spawn-chdir.c | 222 ++++++++++--------
.../unix/sysv/linux/x86_64/64/libc.abilist | 2 +
7 files changed, 154 insertions(+), 104 deletions(-)
--
2.51.0
More information about the Libc-alpha
mailing list