1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Try shell in posix_spawn* only in compat mode

This commit is contained in:
Ulrich Drepper
2011-09-05 20:24:50 -04:00
parent 54b1f8b6bf
commit d96de9634a
8 changed files with 83 additions and 24 deletions

View File

@ -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);