fix for internal redirection flags colliding with open/fcntl flags; call memfd_create with MFD_NOEXEC_SEAL; fix for setting $BASH in su-started login shell; fix for unsetting $REPLY after nofork comsubs

This commit is contained in:
Chet Ramey
2024-05-01 11:39:51 -04:00
parent 9c430f6bf3
commit 1f42d15864
17 changed files with 118 additions and 357 deletions
+3 -1
View File
@@ -96,7 +96,9 @@ extern WORD_LIST *rest_of_args;
extern char *command_execution_string;
extern int debugging_mode;
extern int executing, login_shell;
extern int executing;
extern int login_shell;
extern int su_shell;
extern int parsing_command;
extern int interactive, interactive_shell;
extern int startup_state;