From owner-cvs-all Mon Jul 31 16:39:41 2000 Delivered-To: cvs-all@freebsd.org Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 3B91837B917; Mon, 31 Jul 2000 16:39:26 -0700 (PDT) (envelope-from green@FreeBSD.org) Date: Mon, 31 Jul 2000 19:39:20 -0400 (EDT) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Peter Wemm Cc: Jeroen Ruigrok van der Werven , Luoqi Chen , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys Makefile.inc In-Reply-To: <200007312117.OAA66719@netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Jul 2000, Peter Wemm wrote: > I would prefer that we changed all the syscall entry points to have sys_ > prefixes. I know NetBSD has done this but I don't know their particular > reasons. One thing though - it makes it more obvious what is callable from > ddb and what is not. eg: 'call sync' looks harmless but will die because > the syscall context is not present. 'call sys_sync' is obviously wrong. > We could provide a real ddb-callable sync() function for ddb. I agree. As Mike Smith has been pointing out for a long time, it's long past due to separate the kernel's API into reasonable, reusable pieces :) For what it's worth, my solution for doing this kinda stuff from DDB (a huge hack, but using call in DDB is a hack no matter what...) is to "ps", get the running process, "p lbolt", and do what I want (for instance, a few days ago, "call reboot(, )" shut down the machine while it was in an infinite loop ;) > I suspect that this argument would become a bikeshed argument before long > though. > > Cheers, > -Peter > -- > Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au > "All of this is for nothing if we don't go to the stars" - JMS/B5 -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message