diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-12-07 15:00:04 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-12-07 16:04:05 +0100 |
commit | 3a3fb7557274108ea3dc5ac62333c808a6c171db (patch) | |
tree | d021946546bdbbc80dedbf47dc608375cc7092a5 /sysdeps/posix | |
parent | c37cd4398a684010b39e0c09f1132757e11edbf1 (diff) | |
download | glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.gz glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.bz2 glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.zip |
posix: New function posix_spawn_file_actions_addfchdir_np [BZ #17405]
Along with posix_spawn_file_actions_addchdir,
posix_spawn_file_actions_addfchdir is the subject of a change proposal
for POSIX: <http://austingroupbugs.net/view.php?id=1208>
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/spawni.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/posix/spawni.c b/sysdeps/posix/spawni.c index c02171cc61..73d51e6cbe 100644 --- a/sysdeps/posix/spawni.c +++ b/sysdeps/posix/spawni.c @@ -214,6 +214,11 @@ __spawni_child (void *arguments) if (__chdir (action->action.chdir_action.path) != 0) goto fail; break; + + case spawn_do_fchdir: + if (__fchdir (action->action.fchdir_action.fd) != 0) + goto fail; + break; } } } |