From owner-cvs-all Wed Apr 17 7:33:15 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id DF09637B416; Wed, 17 Apr 2002 07:32:52 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g3HEWmZ32486; Wed, 17 Apr 2002 17:32:48 +0300 (EEST) (envelope-from ru) Date: Wed, 17 Apr 2002 17:32:48 +0300 From: Ruslan Ermilov To: Maxime Henrion Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/include Makefile kenv.h src/sys/alpha/alpha machdep.c src/sys/dev/acpica acpi.c acpi_timer.c src/sys/dev/mly mly.c src/sys/i386/i386 autoconf.c bios.c machdep.c src/sys/ia64/ia64 machdep.c src/sys/kern init_main.c init_sysent.c ... Message-ID: <20020417143248.GC5030@sunbay.com> References: <200204171306.g3HD6aO65499@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YD3LsXFS42OYHhNZ" Content-Disposition: inline In-Reply-To: <200204171306.g3HD6aO65499@freefall.freebsd.org> User-Agent: Mutt/1.3.27i 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 --YD3LsXFS42OYHhNZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable You apparently forgot to commit the manpage for kenv(2). :-) On Wed, Apr 17, 2002 at 06:06:36AM -0700, Maxime Henrion wrote: > mux 2002/04/17 06:06:36 PDT >=20 > Modified files: > include Makefile=20 > sys/alpha/alpha machdep.c=20 > sys/dev/acpica acpi.c acpi_timer.c=20 > sys/dev/mly mly.c=20 > sys/i386/i386 autoconf.c bios.c machdep.c=20 > sys/ia64/ia64 machdep.c=20 > sys/kern init_main.c init_sysent.c=20 > kern_environment.c subr_hints.c=20 > syscalls.c vfs_conf.c=20 > sys/pc98/i386 machdep.c=20 > sys/sys syscall.h syscall.mk sysproto.h systm.h=20 > Added files: > include kenv.h=20 > sys/sys kenv.h=20 > Log: > Rework the kernel environment subsystem. We now convert the static > environment needed at boot time to a dynamic subsystem when VM is > up. The dynamic kernel environment is protected by an sx lock. > =20 > This adds some new functions to manipulate the kernel environment : > freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be > called after every getenv() when you have finished using the string. > testenv() only tests if an environment variable is present, and > doesn't require a freeenv() call. setenv() and unsetenv() are self > explanatory. > =20 > The kenv(2) syscall exports these new functionalities to userland, > mainly for kenv(1). > =20 > Reviewed by: peter > =20 > Revision Changes Path > 1.168 +2 -1 src/include/Makefile > 1.1 +39 -0 src/include/kenv.h (new) > 1.179 +3 -0 src/sys/alpha/alpha/machdep.c > 1.59 +52 -21 src/sys/dev/acpica/acpi.c > 1.16 +1 -1 src/sys/dev/acpica/acpi_timer.c > 1.14 +1 -1 src/sys/dev/mly/mly.c > 1.167 +26 -7 src/sys/i386/i386/autoconf.c > 1.52 +4 -0 src/sys/i386/i386/bios.c > 1.518 +2 -1 src/sys/i386/i386/machdep.c > 1.96 +4 -1 src/sys/ia64/ia64/machdep.c > 1.192 +4 -1 src/sys/kern/init_main.c > 1.121 +1 -0 src/sys/kern/init_sysent.c > 1.21 +308 -59 src/sys/kern/kern_environment.c > 1.4 +55 -19 src/sys/kern/subr_hints.c > 1.108 +1 -0 src/sys/kern/syscalls.c > 1.68 +8 -3 src/sys/kern/vfs_conf.c > 1.279 +2 -1 src/sys/pc98/i386/machdep.c > 1.1 +43 -0 src/sys/sys/kenv.h (new) > 1.107 +2 -1 src/sys/sys/syscall.h > 1.62 +2 -1 src/sys/sys/syscall.mk > 1.99 +7 -0 src/sys/sys/sysproto.h > 1.171 +9 -0 src/sys/sys/systm.h --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --YD3LsXFS42OYHhNZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8vYePUkv4P6juNwoRAmLZAJwIY6ksen88exsGXFWvFvlC2PxcKwCdGTEl D4nngPhvUJg7SfK9AhNcoZM= =Q/np -----END PGP SIGNATURE----- --YD3LsXFS42OYHhNZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message