Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 13:45:09 +0800
From:      "David Xu" <davidxu@viatech.com.cn>
To:        "Alfred Perlstein" <bright@mu.org>
Cc:        <src-committers@FreeBSD.org>, <cvs-src@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_thread.c subr_trap.c
Message-ID:  <007501c2e791$60958100$f001a8c0@davidw2k>
References:  <200303110259.h2B2xor5078625@repoman.freebsd.org> <20030311051206.GZ4145@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----=20
From: "Alfred Perlstein" <bright@mu.org>
To: "David Xu" <davidxu@FreeBSD.org>
Cc: <src-committers@FreeBSD.org>; <cvs-src@FreeBSD.org>; =
<cvs-all@FreeBSD.org>
Sent: Tuesday, March 11, 2003 1:12 PM
Subject: Re: cvs commit: src/sys/kern kern_thread.c subr_trap.c


> * David Xu <davidxu@FreeBSD.org> [030310 18:59] wrote:
> > davidxu     2003/03/10 18:59:50 PST
> >=20
> >   FreeBSD src repository
> >=20
> >   Modified files:
> >     sys/kern             kern_thread.c subr_trap.c=20
> >   Log:
> >   Fix signal delivering bug for threaded process.
>=20
> Details, while not manditory are encouraged.  See a typical
> commit by Dr. Mckusick.
>=20
OOPS, for this commit:=20
The original code will lose an userland context if current thread is
direct returning from syscall which was never blocked or UTS kernel
is doing syscall, at that time an upcall shouldn't be made.=20
TDF_UPCALLING was abused in that code.

> --=20
> -Alfred Perlstein [alfred@freebsd.org]
> 'Instead of asking why a piece of software is using "1970s =
technology,"
>  start asking why software is ignoring 30 years of accumulated =
wisdom.'


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007501c2e791$60958100$f001a8c0>