summaryrefslogtreecommitdiff
path: root/posix/spawn_int.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-05 20:24:50 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-05 20:24:50 -0400
commitd96de9634a334af16c0ac711074c15ac1762b23c (patch)
tree78f566d420a800c92347a7b994d8850a644f1b61 /posix/spawn_int.h
parent54b1f8b6bf88e34c55b77b2e4acb00776b4a5783 (diff)
Try shell in posix_spawn* only in compat mode
Diffstat (limited to 'posix/spawn_int.h')
-rw-r--r--posix/spawn_int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/posix/spawn_int.h b/posix/spawn_int.h
index a3e934754f..5609e587e1 100644
--- a/posix/spawn_int.h
+++ b/posix/spawn_int.h
@@ -29,10 +29,13 @@ struct __spawn_action
} action;
};
+#define SPAWN_XFLAGS_USE_PATH 0x1
+#define SPAWN_XFLAGS_TRY_SHELL 0x2
+
extern int __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *
file_actions);
extern int __spawni (pid_t *pid, const char *path,
const posix_spawn_file_actions_t *file_actions,
const posix_spawnattr_t *attrp, char *const argv[],
- char *const envp[], int use_path);
+ char *const envp[], int xflags);