From owner-cvs-all Fri Oct 26 14:19:38 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 0E51D37B409; Fri, 26 Oct 2001 14:19:23 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9QLJNc74231; Fri, 26 Oct 2001 14:19:23 -0700 (PDT) (envelope-from peter) Message-Id: <200110262119.f9QLJNc74231@freefall.freebsd.org> From: Peter Wemm Date: Fri, 26 Oct 2001 14:19:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org To: cvs-committers@FreeBSD.org.cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_init.c uthread_stack.c X-FreeBSD-CVS-Branch: HEAD 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/10/26 14:19:22 PDT Modified files: lib/libc_r/uthread pthread_private.h uthread_init.c uthread_stack.c Log: Make libc_r check the kern.usrstack sysctl instead of using internal kernel #defines to figure out where the stack is located. This stops libc_r from exploding when the kernel is compiled with a different KVM size. IMHO this is all kinda bogus, it would be better to just check %esp and work from that. Revision Changes Path 1.63 +7 -0 src/lib/libc_r/uthread/pthread_private.h 1.35 +9 -4 src/lib/libc_r/uthread/uthread_init.c 1.2 +5 -3 src/lib/libc_r/uthread/uthread_stack.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message