mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-09 13:10:50 +02:00
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:
@@ -134,6 +134,9 @@ char *current_host_name = (char *)NULL;
|
||||
*/
|
||||
int login_shell = 0;
|
||||
|
||||
/* Non-zero if this shell is being run by `su'. */
|
||||
int su_shell = 0;
|
||||
|
||||
/* Non-zero means that at this moment, the shell is interactive. In
|
||||
general, this means that the shell is at this moment reading input
|
||||
from the keyboard. */
|
||||
@@ -205,9 +208,6 @@ static char *bashrc_file;
|
||||
/* Non-zero means to act more like the Bourne shell on startup. */
|
||||
static int act_like_sh;
|
||||
|
||||
/* Non-zero if this shell is being run by `su'. */
|
||||
static int su_shell;
|
||||
|
||||
/* Non-zero if we have already expanded and sourced $ENV. */
|
||||
static int sourced_env;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user