summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-12-02 12:08:26 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-12-03 10:00:08 +0000
commit334ed65e2765062a449897d70925255929eae8a8 (patch)
tree3cbd5c8bd1c3ddaa4572d18d72bae33a2c2af756 /ChangeLog
parentfd2ca229ddfc913f14f3b4b27fe8dcb25a5bba1d (diff)
downloadzsh-334ed65e2765062a449897d70925255929eae8a8.tar.gz
zsh-334ed65e2765062a449897d70925255929eae8a8.tar.xz
zsh-334ed65e2765062a449897d70925255929eae8a8.zip
40068: Abort execution when setuid/setgid fail.
The incumbent code would print an error message and continue execution
with the previous uid/gid values, not even setting lastval:

    % UID=42 id -u; echo $?
    zsh: failed to change user ID: operation not permitted
    1000
    0
    %
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 20574d17e..eb29a06cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-12-03  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 40068: Src/params.c, Test/B02typeset.ztst: Abort execution
+	when setuid/setgid fail.
+
 	* 40067: Src/Zle/comp.h, Src/Zle/complete.c, Src/params.c:
 	internal: Document 'cmatcher', parse_cmatcher(), 'comptoend',
 	unsetparam_pm(), and getindex().