From owner-cvs-all Fri Nov 2 16:33:11 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 945DB37B40A; Fri, 2 Nov 2001 16:33:08 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA30X8l79792; Fri, 2 Nov 2001 16:33:08 -0800 (PST) (envelope-from peter) Message-Id: <200111030033.fA30X8l79792@freefall.freebsd.org> From: Peter Wemm Date: Fri, 2 Nov 2001 16:33:08 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_init.c X-FreeBSD-CVS-Branch: RELENG_4 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 peter 2001/11/02 16:33:08 PST Modified files: (Branch: RELENG_4) lib/libc_r/uthread pthread_private.h uthread_init.c Log: MFC: Dont hard-code knowledge about where the stack starts by peering into kernel #define's (GRR!!). Use the kern.usrstack sysctl. This stops libc_r programs from exploding when KVM is changed. Revision Changes Path 1.36.2.15 +7 -0 src/lib/libc_r/uthread/pthread_private.h 1.23.2.7 +9 -4 src/lib/libc_r/uthread/uthread_init.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message