From owner-cvs-all@FreeBSD.ORG Wed Oct 6 14:23:01 2004 Return-Path: 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 0879516A4CE; Wed, 6 Oct 2004 14:23:01 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCD7643D48; Wed, 6 Oct 2004 14:23:00 +0000 (GMT) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i96EN0NA040522; Wed, 6 Oct 2004 14:23:00 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from mtm@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i96EN0h0040521; Wed, 6 Oct 2004 14:23:00 GMT (envelope-from mtm) Message-Id: <200410061423.i96EN0h0040521@repoman.freebsd.org> From: Mike Makonnen Date: Wed, 6 Oct 2004 14:23:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_proto.hfreebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c src/sys/kern init_sysent.c syscalls.c src/sys/sys syscall.h syscall.mk sysproto.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 14:23:01 -0000 mtm 2004-10-06 14:23:00 UTC FreeBSD src repository Modified files: sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c sys/kern init_sysent.c syscalls.c sys/sys syscall.h syscall.mk sysproto.h Log: Close a race between a thread exiting and the freeing of it's stack. After some discussion the best option seems to be to signal the thread's death from within the kernel. This requires that thr_exit() take an argument. Discussed with: davidxu, deischen, marcel MFC after: 3 days Revision Changes Path 1.29 +1 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.29 +1 -1 src/sys/compat/freebsd32/freebsd32_syscall.h 1.20 +1 -1 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.30 +2 -2 src/sys/compat/freebsd32/freebsd32_sysent.c 1.176 +0 -0 src/sys/kern/init_sysent.c 1.162 +0 -0 src/sys/kern/syscalls.c 1.160 +0 -0 src/sys/sys/syscall.h 1.115 +0 -0 src/sys/sys/syscall.mk 1.159 +0 -0 src/sys/sys/sysproto.h