[Pkg-shadow-commits] r305 - trunk/debian/patches
Alexander Gattin
pkg-shadow-devel@lists.alioth.debian.org
Sun, 26 Jun 2005 21:40:43 +0000
Author: xrgtn-guest
Date: 2005-06-26 21:40:42 +0000 (Sun, 26 Jun 2005)
New Revision: 305
Modified:
trunk/debian/patches/356_su-stop_cont-proxy
Log:
added mention of "suspend" and CLOSE_SESSIONS to patch comments
Modified: trunk/debian/patches/356_su-stop_cont-proxy
===================================================================
--- trunk/debian/patches/356_su-stop_cont-proxy 2005-06-26 20:27:52 UTC (rev 304)
+++ trunk/debian/patches/356_su-stop_cont-proxy 2005-06-26 21:40:42 UTC (rev 305)
@@ -1,10 +1,15 @@
Goal: When su process sits between parent and child shells, it should
- propagate STOPs from child to parent and CONTs from parent to child.
+ propagate STOPs from child to parent and CONTs from parent to child,
+ otherwise e.g. bash's "suspend" command won't work.
Status wrt upstream: Fixed in upstream the same way, with slightly different
code inside run_shell(), since 4.0.5
-Notes: SIGCHLD is handled implicitly by waitpid() when WUNTRACED flag is
+Notes: Affects only operation with CLOSE_SESSIONS=yes. When it's set to "no",
+ newgrp doesn't fork and create child process, it just calls exec(),
+ so there won't be "newgrp" process between parent and child shells.
+
+ SIGCHLD is handled implicitly by waitpid() when WUNTRACED flag is
specified.
SIGCONT is handled implicitly too, because it just resumes execution