about summary refs log tree commit diff
path: root/posix/spawn_int.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-11-06 16:08:12 +0100
committerFlorian Weimer <fweimer@redhat.com>2018-11-06 16:08:12 +0100
commit4a938cb273e164a475dc123cc80ea6354d7248d4 (patch)
tree607dad9fb23f1a248a8009758c03115528dde294 /posix/spawn_int.h
parent7597b0c7f711a6918d5804e08508817c72916376 (diff)
downloadglibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar.gz
glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar.xz
glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.zip
posix: New function posix_spawn_file_actions_addchdir_np [BZ #17405]
Diffstat (limited to 'posix/spawn_int.h')
-rw-r--r--posix/spawn_int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/posix/spawn_int.h b/posix/spawn_int.h
index 171f67c649..9db35553c2 100644
--- a/posix/spawn_int.h
+++ b/posix/spawn_int.h
@@ -29,7 +29,8 @@ struct __spawn_action
   {
     spawn_do_close,
     spawn_do_dup2,
-    spawn_do_open
+    spawn_do_open,
+    spawn_do_chdir,
   } tag;
 
   union
@@ -50,6 +51,10 @@ struct __spawn_action
       int oflag;
       mode_t mode;
     } open_action;
+    struct
+    {
+      char *path;
+    } chdir_action;
   } action;
 };