From owner-p4-projects Mon Sep 2 13: 1:22 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 451B537B401; Mon, 2 Sep 2002 13:01:14 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40AF437B405; Mon, 2 Sep 2002 13:01:13 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CA1243E42; Mon, 2 Sep 2002 13:01:12 -0700 (PDT) (envelope-from baka@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1921) id 67890AE1D7; Mon, 2 Sep 2002 13:01:12 -0700 (PDT) Date: Mon, 2 Sep 2002 13:01:12 -0700 From: Jonathan Mini To: Robert Watson Cc: Perforce Change Reviews Subject: Re: PERFORCE change 16816 for review Message-ID: <20020902200112.GY3751@elvis.mu.org> References: <200208302100.g7UL0hW3027550@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Watson [rwatson@FreeBSD.org] wrote : > Hmm. I suspect the reason for ucontext.h was that that's the API exposed > by Solaris and other platforms with those context management primitives. > On Solaris, /usr/include/ucontext.h defines the userland API, and does a > nested include of /usr/include/sys/ucontext.h for some of the structures, > and the APIs for the system calls. Well, I suspect the same thing. I moved to sys/ucontext.h because on our system we have both, and I was getting nightmarishly-reoccuring problems with my not matching my while I was modifying the sys/ version. What we do in the cvs repo will most likely be . I'd like to see include , because the ucontext_t structure is defined by the kernel and then exported to userland (even though the *context() functions aren't syscalls). I dunno. I'll bow to more experienced hands on where to stuff these headers. -- Jonathan Mini http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message