summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2021-11-17 16:47:24 -0500
committerChet Ramey <chet.ramey@case.edu>2021-11-17 16:47:24 -0500
commit15409324f1974d41c183904ad575da7188058c1c (patch)
tree3c24681b1083c0f12ef00c0c7fdcd698d283370c /command.h
parentc839339fbfd2bb7ee4a523b64c7f3734ba36b9bc (diff)
downloadbash-15409324f1974d41c183904ad575da7188058c1c.tar.gz
Bash-5.1 patch 12: fix race condition with child processes and resetting trapped signals
Diffstat (limited to 'command.h')
-rw-r--r--command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/command.h b/command.h
index 914198f9..b8477528 100644
--- a/command.h
+++ b/command.h
@@ -124,6 +124,7 @@ enum command_type { cm_for, cm_case, cm_while, cm_if, cm_simple, cm_select,
#define SUBSHELL_PROCSUB 0x20 /* subshell caused by <(command) or >(command) */
#define SUBSHELL_COPROC 0x40 /* subshell from a coproc pipeline */
#define SUBSHELL_RESETTRAP 0x80 /* subshell needs to reset trap strings on first call to trap */
+#define SUBSHELL_IGNTRAP 0x100 /* subshell should reset trapped signals from trap_handler */
/* A structure which represents a word. */
typedef struct word_desc {