diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-05 20:24:50 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-05 20:24:50 -0400 |
commit | d96de9634a334af16c0ac711074c15ac1762b23c (patch) | |
tree | 78f566d420a800c92347a7b994d8850a644f1b61 /posix/spawn_int.h | |
parent | 54b1f8b6bf88e34c55b77b2e4acb00776b4a5783 (diff) | |
download | glibc-d96de9634a334af16c0ac711074c15ac1762b23c.tar.gz glibc-d96de9634a334af16c0ac711074c15ac1762b23c.tar.xz glibc-d96de9634a334af16c0ac711074c15ac1762b23c.zip |
Try shell in posix_spawn* only in compat mode
Diffstat (limited to 'posix/spawn_int.h')
-rw-r--r-- | posix/spawn_int.h | 5 |
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); |