Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2006 11:03:02 +0100
From:      Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To:        Martin Blapp <mbr@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern tty.c
Message-ID:  <1157968983.82989.0.camel@buffy.york.ac.uk>
In-Reply-To: <200609101651.k8AGpuqm069774@repoman.freebsd.org>
References:  <200609101651.k8AGpuqm069774@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2006-09-10 at 16:51 +0000, Martin Blapp wrote:
> mbr         2006-09-10 16:51:56 UTC
> 
>   Modified files:
>     sys/kern             tty.c 
>   Log:
>   Fix locking race in ttymodem(). The locking of the proctree happens too late
>   and opens a small race window before tp->t_session->s_leader is accessed. In case
>   tp->t_session has just been set to NULL elsewhere, we get a panic().

This is excellent, thanks!

Gavin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1157968983.82989.0.camel>