about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2020-02-27 20:42:16 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2020-02-27 20:42:16 +0000
commit14ea665a903b26a658ef1d2ca974a9b48e09eff1 (patch)
tree443a5225cfac4052123b81c4d7c5b7ee5a5220c7 /ChangeLog
parentfe516fccb4754833f850cb62f6607226370bbf53 (diff)
downloadzsh-14ea665a903b26a658ef1d2ca974a9b48e09eff1.tar.gz
zsh-14ea665a903b26a658ef1d2ca974a9b48e09eff1.tar.xz
zsh-14ea665a903b26a658ef1d2ca974a9b48e09eff1.zip
users/24710: Fix job control problem with sudo.
If we use kill to test for continued existence of a process group,
we should check on failure that the error is ESRCH, as EPERM
indicates the group still has memebers but running privileged
so should be left alone.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 218970ff6..0b42a7cf8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-02-27  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* users/24710: Src/exec.c, Src/jobs.c, Src/signals.c: when using
+	kill or killpg to test for continued existince of a process
+	group, check errono is ESRCH on failure as EPERM indicates
+	processes exist but under a different UID.
+
 2020-02-27  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
 	* 45492: Test/D02glob.ztst: skip test added by users/24633