From owner-cvs-all Thu Sep 7 14: 5: 5 2000 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 B79B337B422; Thu, 7 Sep 2000 14:05:01 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id RAA36408; Thu, 7 Sep 2000 17:05:00 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 7 Sep 2000 17:04:59 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Don Lewis Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern init_main.c kern_exec.c kern_exit.c kern_fork.c kern_proc.c kern_prot.c kern_resource.c uipc_socket.c uipc_socket2.c uipc_usrreq.c vfs_aio.c src/sys/sys proc.h resourcevar.h ucred.h In-Reply-To: <200009071913.MAA91342@freefall.freebsd.org> 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 > Because the pcred and ucred structures changed size, libkvm and friends > will need to be rebuilt. I keep wondering to myself if we shouldn't start exporting something other than our native in-kernel structures via sysctl--i.e., introduce a version-controlled "exportproc" structure, and other related structs. This would let things such as in-kernel flag changes, scheduler modifications, etc, occur freely without breaking userland all the time. The code in the appropriate sysctl would copy over documented, well-known fields to exportproc. A lot of the things that change in struct proc are of no interest to ps anyway :-). This becomes especially relevant when the fields of traditional single monolithic structures (proc, cred, ...) start being broken out into more modular structures; there's no reason for the userland sysctl api to change as a result. Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message