Date: Fri, 26 Oct 2001 17:35:51 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.org> To: Peter Wemm <peter@FreeBSD.org> 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 Message-ID: <Pine.NEB.3.96L.1011026173522.88508W-100000@fledge.watson.org> In-Reply-To: <200110262119.f9QLJNc74231@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011026173522.88508W-100000>