aboutsummaryrefslogtreecommitdiff
path: root/posix/spawn_int.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-12-07 15:00:04 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-12-07 16:04:05 +0100
commit3a3fb7557274108ea3dc5ac62333c808a6c171db (patch)
treed021946546bdbbc80dedbf47dc608375cc7092a5 /posix/spawn_int.h
parentc37cd4398a684010b39e0c09f1132757e11edbf1 (diff)
downloadglibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.zip
glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.gz
glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.bz2
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 'posix/spawn_int.h')
-rw-r--r--posix/spawn_int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/spawn_int.h b/posix/spawn_int.h
index 9db3555..0d0e438 100644
--- a/posix/spawn_int.h
+++ b/posix/spawn_int.h
@@ -31,6 +31,7 @@ struct __spawn_action
spawn_do_dup2,
spawn_do_open,
spawn_do_chdir,
+ spawn_do_fchdir,
} tag;
union
@@ -55,6 +56,10 @@ struct __spawn_action
{
char *path;
} chdir_action;
+ struct
+ {
+ int fd;
+ } fchdir_action;
} action;
};