From owner-cvs-all Mon Mar 10 21:45:37 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1C4637B404; Mon, 10 Mar 2003 21:45:32 -0800 (PST) Received: from mail.viasoft.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE1943FCB; Mon, 10 Mar 2003 21:45:12 -0800 (PST) (envelope-from davidxu@viatech.com.cn) Received: from davidw2k (davidlnx.viasoft.com.cn [192.168.1.240]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id OAA05605; Tue, 11 Mar 2003 14:10:48 +0800 Message-ID: <007501c2e791$60958100$f001a8c0@davidw2k> From: "David Xu" To: "Alfred Perlstein" Cc: , , References: <200303110259.h2B2xor5078625@repoman.freebsd.org> <20030311051206.GZ4145@elvis.mu.org> Subject: Re: cvs commit: src/sys/kern kern_thread.c subr_trap.c Date: Tue, 11 Mar 2003 13:45:09 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message -----=20 From: "Alfred Perlstein" To: "David Xu" Cc: ; ; = Sent: Tuesday, March 11, 2003 1:12 PM Subject: Re: cvs commit: src/sys/kern kern_thread.c subr_trap.c > * David Xu [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-all" in the body of the message