diff options
author | Martijn Dekker <martijn@inlv.org> | 2016-09-27 13:15:23 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-09-28 11:26:32 +0100 |
commit | edfdce9981550239675dcc2454ae50cbc8988db4 (patch) | |
tree | 437f83027f4c113875cccdd90a6c5f6b82be55c4 | |
parent | b32d974000295a5fa0b0c981b3198f987d3177c4 (diff) | |
download | zsh-edfdce9981550239675dcc2454ae50cbc8988db4.tar.gz zsh-edfdce9981550239675dcc2454ae50cbc8988db4.tar.xz zsh-edfdce9981550239675dcc2454ae50cbc8988db4.zip |
39463: an additional test for default system path
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 9c50f15f9..5dc281a6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2016-09-28 Peter Stephenson <p.stephenson@samsung.com> + * Martijn Dekker: 39463: configure.ac: another way of getting + the default system path. + * 39460: Src/params.c, Src/zsh.h: don't import PS4 if running as root. Currently no known exploit with this in zsh as xtrace needs an explicit option setting, so this is just precautionary. diff --git a/configure.ac b/configure.ac index 0e0bd535a..e0eb3205e 100644 --- a/configure.ac +++ b/configure.ac @@ -2035,6 +2035,8 @@ AC_CACHE_VAL(zsh_cv_cs_path, zsh_cv_cs_path=`getconf _CS_PATH` elif getconf CS_PATH >/dev/null 2>&1; then zsh_cv_cs_path=`getconf CS_PATH` +elif getconf PATH >/dev/null 2>&1; then + zsh_cv_cs_path=`getconf PATH` else zsh_cv_cs_path="/bin:/usr/bin" fi]) |