[Pkg-shadow-devel] document pam-based su(1) behavior of SIGTERM/SIGKILL

Nicolas François nicolas.francois at centraliens.net
Tue Sep 8 20:35:49 UTC 2009


On Sun, Aug 23, 2009 at 06:48:04AM -0400, vapier at gentoo.org wrote:
> user report:
> http://bugs.gentoo.org/282094
> 
> the current pam run_shell() code doesnt seem to check if the child is still 
> alive after the SIGTERM and before the SIGKILL, but maybe i missed something 
> weird with the signal handler.

I will commit this patch to
 * document the su exit values
   I'm not sure I would recommend to rely on the su exit values, so maybe
   documenting them was not a really good idea.
 * wait for the child to terminate, and kill it only if it did not
   terminate by itself.

Best Regards,
-- 
Nekral
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadow_su_exit-values.patch
Type: text/x-diff
Size: 4431 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20090908/e41b210f/attachment.patch>


More information about the Pkg-shadow-devel mailing list