This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch master in repository hurd.
commit ccd3ec563ae0d8779cd5ae250995345763d08fa0 Author: Samuel Thibault <[email protected]> Date: Thu Jan 19 00:08:12 2017 +0000 patches/exec_set_exe.patch: Copy exe value on fork. Closes: Bug#851729. --- debian/changelog | 6 ++++++ debian/patches/exec_set_exe.patch | 13 ++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index fea06a6..91fdab8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +hurd (1:0.9.git20170117-2) UNRELEASED; urgency=medium + + * patches/exec_set_exe.patch: Copy exe value on fork. Closes: Bug#851729. + + -- Samuel Thibault <[email protected]> Thu, 19 Jan 2017 00:07:34 +0000 + hurd (1:0.9.git20170117-1) unstable; urgency=medium * New upstream snapshot. diff --git a/debian/patches/exec_set_exe.patch b/debian/patches/exec_set_exe.patch index 0972661..4763b47 100644 --- a/debian/patches/exec_set_exe.patch +++ b/debian/patches/exec_set_exe.patch @@ -135,7 +135,18 @@ Index: hurd-debian/proc/mgt.c =================================================================== --- hurd-debian.orig/proc/mgt.c +++ hurd-debian/proc/mgt.c -@@ -770,6 +770,8 @@ process_has_exited (struct proc *p) +@@ -223,6 +223,10 @@ S_proc_child (struct proc *parentp, + childp->start_code = parentp->start_code; + childp->end_code = parentp->end_code; + } ++ if (! childp->exe && parentp->exe) ++ { ++ childp->exe = strdup (parentp->exe); ++ } + + if (MACH_PORT_VALID (parentp->p_task_namespace)) + { +@@ -770,6 +774,8 @@ process_has_exited (struct proc *p) if (!--p->p_login->l_refcnt) free (p->p_login); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git
