mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 19:30:49 +02:00
change `read -d' on a tty when the delimiter is not a newline to set the terminal EOL character instead of putting the terminal into character-at-a-time mode; change some calls to atoi to use strol instead
This commit is contained in:
@@ -9188,6 +9188,9 @@ directory to a non-writable directory other than @env{$HOME} after login,
|
||||
not allowing the restricted shell to execute shell scripts, and cleaning
|
||||
the environment of variables that cause some commands to modify their
|
||||
behavior (e.g., @env{VISUAL} or @env{PAGER}).
|
||||
When setting up a restricted environment like this, it's important not
|
||||
to install or allow symbolic links in the new current directory, since
|
||||
those could be used to circumvent restrictions on writing to files.
|
||||
|
||||
Modern systems provide more secure ways to implement a restricted environment,
|
||||
such as @code{jails}, @code{zones}, or @code{containers}.
|
||||
|
||||
Reference in New Issue
Block a user