cvs commit: src/usr.bin/su su.c
Tim Robbins
tjr at freebsd.org
Tue Nov 4 12:28:36 PST 2003
On Mon, Nov 03, 2003 at 03:54:55PM -0800, David Xu wrote:
> davidxu 2003/11/03 15:54:55 PST
>
> FreeBSD src repository
>
> Modified files:
> usr.bin/su su.c
> Log:
> It seems when su executes in a shell scripts, there is a timing race,
> sometimes, su will receive a SIGTTOU when parent su tries to set child
> su's process group as foreground group, and su will be stopped unexpectly,
> ignoring SIGTTOU fixes the problem.
>
> Noticed by: fjoe
Thank you! This fixes the problems I've been having for ~18 months with
suspending su when using pdksh.
(http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/54263)
Tim
More information about the cvs-src
mailing list