Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2002 16:34:16 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Tim Robbins <tjr@FreeBSD.ORG>, David Xu <bsddiy@yahoo.com>, current@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern kern_sig.c (fwd)
Message-ID:  <3D599778.6EFFA843@mindspring.com>
References:  <20020814033444.N29606-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> Er, I didn't point out anything like this, and thought that it wasn't
> a kernel problem.  It's certainly not a problem at fork() time.

[ ... ]

> I think unwanted SIGTTOU's are just a sympto.

Here's the source of my confusion; I thought that you meant they were
the proximal cause.


> > What about chpass, vipw, and the other pw_edit() consumers? vipw
> > works correctly wrt suspending with ^Z on 4.6-RELEASE, but does not
> > on -CURRENT. As far as I can see, pw_edit()'s logic has not been changed.
> 
> Here is a trace for vi and vipw (but not the shell) from when I hit ^Z
> in the editor to when the shell is given control because vi is bogusly
> stopped again:

[ ... ]

> This ioctl blocks and the shell gains control.  Apparently vi is still
> in the background at this point, but it shouldn't be...  Or maybe which
> process is in the background depends on races, and it is normal for
> vi to block here (please check on RELENG_4 if you have it handy), and
> the problem is simply a missing or extra signal that results in vi not
> being put back in the foreground.

This does not happen in 4.1-RELEASE or 4.4-RELEASE, AFAICT.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D599778.6EFFA843>