From owner-cvs-all Fri Oct 26 14:40:22 2001 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 0AF3E37B405; Fri, 26 Oct 2001 14:40:15 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id f9QLZpB98444; Fri, 26 Oct 2001 17:35:51 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 26 Oct 2001 17:35:51 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org.cvs-all, FreeBSD.org@unspecified-domain.FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_init.c uthread_stack.c In-Reply-To: <200110262119.f9QLJNc74231@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Is the user stack constant across all ABIs on a system, or would it make sense for that sysctl to be per-ABI? Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Fri, 26 Oct 2001, Peter Wemm wrote: > 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