cvs commit: src/sys/kern tty.c

Gavin Atkinson gavin.atkinson at ury.york.ac.uk
Mon Sep 11 03:05:55 PDT 2006


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


More information about the cvs-all mailing list