From owner-cvs-usrsbin Sun Mar 23 11:13:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA20501 for cvs-usrsbin-outgoing; Sun, 23 Mar 1997 11:13:07 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA20489; Sun, 23 Mar 1997 11:13:05 -0800 (PST) Date: Sun, 23 Mar 1997 11:13:05 -0800 (PST) From: Joerg Wunsch Message-Id: <199703231913.LAA20489@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/amd/amd nfs_start.c src/usr.sbin/amd/amq amq.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 97/03/23 11:13:04 Branch: usr.sbin/amd/amd RELENG_2_2 usr.sbin/amd/amq RELENG_2_2 Modified: usr.sbin/amd/amd nfs_start.c usr.sbin/amd/amq amq.c Log: Merge revs 1.5 of both files: fix argument handling for select(), and move amq service to TCP for better reliability. Revision Changes Path 1.2.6.1 +19 -19 src/usr.sbin/amd/amd/nfs_start.c 1.2.6.1 +3 -3 src/usr.sbin/amd/amq/amq.c From owner-cvs-usrsbin Mon Mar 24 07:09:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA12364 for cvs-usrsbin-outgoing; Mon, 24 Mar 1997 07:09:49 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA12355; Mon, 24 Mar 1997 07:09:46 -0800 (PST) Date: Mon, 24 Mar 1997 07:09:46 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703241509.HAA12355@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pw pw_user.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/24 07:09:44 Modified: usr.sbin/pw pw_user.c Log: Initialize RNG only once Use srandomdev() now Revision Changes Path 1.19 +18 -23 src/usr.sbin/pw/pw_user.c From owner-cvs-usrsbin Mon Mar 24 08:02:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA15360 for cvs-usrsbin-outgoing; Mon, 24 Mar 1997 08:02:04 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA15351; Mon, 24 Mar 1997 08:01:56 -0800 (PST) Date: Mon, 24 Mar 1997 08:01:56 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703241601.IAA15351@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp chap.c command.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/24 08:01:54 Modified: usr.sbin/ppp chap.c command.c Log: Use srandomdev() to initialize RNG Revision Changes Path 1.13 +3 -2 src/usr.sbin/ppp/chap.c 1.36 +3 -2 src/usr.sbin/ppp/command.c From owner-cvs-usrsbin Mon Mar 24 18:35:43 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA02267 for cvs-usrsbin-outgoing; Mon, 24 Mar 1997 18:35:43 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA02206; Mon, 24 Mar 1997 18:35:28 -0800 (PST) Date: Mon, 24 Mar 1997 18:35:28 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703250235.SAA02206@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/24 18:35:22 Modified: usr.sbin/config mkioconf.c Log: Fix iobase printing for autodetect and none cases (negative numbers was printed as very big ports) Revision Changes Path 1.26 +3 -1 src/usr.sbin/config/mkioconf.c From owner-cvs-usrsbin Mon Mar 24 18:54:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA04136 for cvs-usrsbin-outgoing; Mon, 24 Mar 1997 18:54:39 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA04126; Mon, 24 Mar 1997 18:54:36 -0800 (PST) Date: Mon, 24 Mar 1997 18:54:36 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703250254.SAA04126@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/24 18:54:36 Modified: usr.sbin/config mkioconf.c Log: Print negative values only for two cases used in config for iobase: -1 (auto) and -2 (none) Other values are printed as big port numbers Revision Changes Path 1.27 +3 -3 src/usr.sbin/config/mkioconf.c From owner-cvs-usrsbin Tue Mar 25 07:48:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA19592 for cvs-usrsbin-outgoing; Tue, 25 Mar 1997 07:48:17 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA19584; Tue, 25 Mar 1997 07:48:15 -0800 (PST) Date: Tue, 25 Mar 1997 07:48:15 -0800 (PST) From: Peter Wemm Message-Id: <199703251548.HAA19584@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/25 07:48:15 Modified: usr.sbin/pstat pstat.c Log: - update MNT_* flags to match lite2 properly. get rid of old #if 0 flags that are gone, add new missing ones. - don't dereference kernel relative pointers in user space for() loops, it doesn't work real well. Revision Changes Path 1.27 +9 -22 src/usr.sbin/pstat/pstat.c From owner-cvs-usrsbin Tue Mar 25 07:51:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA19796 for cvs-usrsbin-outgoing; Tue, 25 Mar 1997 07:51:53 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA19786; Tue, 25 Mar 1997 07:51:51 -0800 (PST) Date: Tue, 25 Mar 1997 07:51:51 -0800 (PST) From: Peter Wemm Message-Id: <199703251551.HAA19786@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/25 07:51:51 Branch: usr.sbin/pstat RELENG_2_2 Modified: usr.sbin/pstat pstat.c Log: - adapt part of rev 1.27 - don't deref kernel space pointers - when a ufs inode is locked, apppend the locking pid. This is useful for tracking down ufslk2 deadlocks. Revision Changes Path 1.25.2.1 +8 -4 src/usr.sbin/pstat/pstat.c From owner-cvs-usrsbin Wed Mar 26 07:19:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA15045 for cvs-usrsbin-outgoing; Wed, 26 Mar 1997 07:19:59 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA15036; Wed, 26 Mar 1997 07:19:58 -0800 (PST) Date: Wed, 26 Mar 1997 07:19:58 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703261519.HAA15036@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config config.h config.y mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/26 07:19:57 Modified: usr.sbin/config config.h config.y mkioconf.c Log: Add #define's for port "none" and "auto" Now port ommiting is equal to port "none" not to port 0 Revision Changes Path 1.14 +2 -0 src/usr.sbin/config/config.h 1.16 +3 -3 src/usr.sbin/config/config.y 1.28 +2 -2 src/usr.sbin/config/mkioconf.c From owner-cvs-usrsbin Wed Mar 26 16:29:41 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA15977 for cvs-usrsbin-outgoing; Wed, 26 Mar 1997 16:29:41 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA15946; Wed, 26 Mar 1997 16:29:23 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id LAA31897; Thu, 27 Mar 1997 11:14:12 +1100 Date: Thu, 27 Mar 1997 11:14:12 +1100 From: Bruce Evans Message-Id: <199703270014.LAA31897@godzilla.zeta.org.au> To: ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/config config.h config.y mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified: usr.sbin/config config.h config.y mkioconf.c > Log: > Add #define's for port "none" and "auto" > Now port ommiting is equal to port "none" not to port 0 Can we remove the half-baked support for "auto" and "none" instead of fixing it to apply to all primary keywords? It came in undocumented with the following log message: ---------------------------- revision 1.8 date: 1995/12/11 10:52:24; author: peter; state: Exp; lines: +8 -0 Implement support for conf/options and i386/conf/options.i386 Note that this code is dormant unless the options files exist. Also, parsing of quoted options in the config files is improved. What this allows, is all the options in LINT to be specified to be configured as #defines in a file rather than on the CC command line at kernel build time. This means that 'make depend' will catch dependencies on actual *options*, meaning that you can run 'config' and 'make depend' in complete safety WITHOUT removing the compile directory each time. Unfortunately, this requires a pass over the source to get the individual files to #include the new .h files that would be generated by config. This has a small compile time penalty (appears up to about 2% slower) from a "fresh" build. Of course, you should not be needing to do complete rebuilds very often once this was completed, so it would be an overall win for most people. Since this code is dormant and we've got a lot of other things happening on the kernel tree at the moment (prototypes, devfs, static declarations etc) I am not planning on doing any changes to activate this feature just yet. ---------------------------- In case it isn't obvious from the log message ;-), the changes to lang.l in rev.1.8 were to support escaping of quotes and to add "auto" and "none". Bruce From owner-cvs-usrsbin Wed Mar 26 19:43:37 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA00409 for cvs-usrsbin-outgoing; Wed, 26 Mar 1997 19:43:37 -0800 (PST) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA00396; Wed, 26 Mar 1997 19:43:29 -0800 (PST) Received: by sequent.kiae.su id AA03729 (5.65.kiae-2 ); Thu, 27 Mar 1997 06:32:08 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Thu, 27 Mar 97 06:32:07 +0300 Received: (from ache@localhost) by nagual.ru (8.8.5/8.8.5) id GAA00685; Thu, 27 Mar 1997 06:26:19 +0300 (MSK) Date: Thu, 27 Mar 1997 06:26:17 +0300 (MSK) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= To: Bruce Evans Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/config config.h config.y mkioconf.c In-Reply-To: <199703270014.LAA31897@godzilla.zeta.org.au> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 27 Mar 1997, Bruce Evans wrote: > > Modified: usr.sbin/config config.h config.y mkioconf.c > > Log: > > Add #define's for port "none" and "auto" > > Now port ommiting is equal to port "none" not to port 0 > > Can we remove the half-baked support for "auto" and "none" instead > of fixing it to apply to all primary keywords? It came in undocumented > with the following log message: Yes, we can remove them because now "port auto" == port? "port none" == /* no port keyword */ Any objections? -- Andrey A. Chernov http://www.nagual.ru/~ache/ From owner-cvs-usrsbin Thu Mar 27 16:56:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA08634 for cvs-usrsbin-outgoing; Thu, 27 Mar 1997 16:56:15 -0800 (PST) Received: (from ache@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA08627; Thu, 27 Mar 1997 16:56:13 -0800 (PST) Date: Thu, 27 Mar 1997 16:56:13 -0800 (PST) From: "Andrey A. Chernov" Message-Id: <199703280056.QAA08627@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config config.h config.y lang.l mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 97/03/27 16:56:13 Modified: usr.sbin/config config.h config.y lang.l mkioconf.c Log: Remove support for "port none" and "port auto", it gains nothing, non-standard and not used. "port auto" is equal to "port?" or missing "port" keyword now. "port none" is really probe routine task (return -1 for no ports). Revision Changes Path 1.15 +0 -2 src/usr.sbin/config/config.h 1.17 +1 -7 src/usr.sbin/config/config.y 1.12 +0 -2 src/usr.sbin/config/lang.l 1.29 +1 -1 src/usr.sbin/config/mkioconf.c From owner-cvs-usrsbin Fri Mar 28 02:42:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA03193 for cvs-usrsbin-outgoing; Fri, 28 Mar 1997 02:42:22 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA03182; Fri, 28 Mar 1997 02:42:19 -0800 (PST) Date: Fri, 28 Mar 1997 02:42:19 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199703281042.CAA03182@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/create pkg_create.1 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/03/28 02:42:18 Branch: usr.sbin/pkg_install/create RELENG_2_2 Modified: usr.sbin/pkg_install/create pkg_create.1 Log: Clarify @srcdir vs @cwd. Submitted-By: "Chad R. Larson" Revision Changes Path 1.16.2.1 +6 -5 src/usr.sbin/pkg_install/create/pkg_create.1 From owner-cvs-usrsbin Sat Mar 29 03:01:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA20809 for cvs-usrsbin-outgoing; Sat, 29 Mar 1997 03:01:59 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA20801; Sat, 29 Mar 1997 03:01:56 -0800 (PST) Date: Sat, 29 Mar 1997 03:01:56 -0800 (PST) From: Bruce Evans Message-Id: <199703291101.DAA20801@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/vnconfig vnconfig.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/03/29 03:01:55 Modified: usr.sbin/vnconfig vnconfig.c Log: Use new mount args (mount "ufs" instead of MOUNT_UFS). vnconfig doesn't seem to be in Lite2, although dev/vn is. The Lite2 merge in userland has converted all mount calls except this one and one for devfs in init, so we can drop support for old mount args soon. Vnconfig probably shouldn't support mounting - it only supports ufs. Revision Changes Path 1.5 +1 -1 src/usr.sbin/vnconfig/vnconfig.c From owner-cvs-usrsbin Sat Mar 29 04:05:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA22448 for cvs-usrsbin-outgoing; Sat, 29 Mar 1997 04:05:00 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA22439; Sat, 29 Mar 1997 04:04:56 -0800 (PST) Date: Sat, 29 Mar 1997 04:04:56 -0800 (PST) From: Peter Wemm Message-Id: <199703291204.EAA22439@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config mkglue.c mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/29 04:04:55 Modified: usr.sbin/config mkglue.c mkioconf.c Log: Reserve a placeholder for 4 SMP ipi interrupts in the same way that it's done for pci. This is so that systat and vmstat can get at the interrupt counts for the Inter-Processor Interrupts when running a smp kernel. This doesn't affect the normal kernel, but makes life easier for the smp people who don't have to track two versions of config. Revision Changes Path 1.11 +5 -1 src/usr.sbin/config/mkglue.c 1.30 +1 -1 src/usr.sbin/config/mkioconf.c From owner-cvs-usrsbin Sat Mar 29 04:10:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA22652 for cvs-usrsbin-outgoing; Sat, 29 Mar 1997 04:10:35 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA22643; Sat, 29 Mar 1997 04:10:32 -0800 (PST) Date: Sat, 29 Mar 1997 04:10:32 -0800 (PST) From: Peter Wemm Message-Id: <199703291210.EAA22643@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/moused moused.8 moused.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 97/03/29 04:10:30 Modified: usr.sbin/moused moused.8 moused.c Log: Allow the samplerate (in DPI) to be set on the command line, the rest of the code appears to support it. Revision Changes Path 1.2 +3 -0 src/usr.sbin/moused/moused.8 1.8 +6 -2 src/usr.sbin/moused/moused.c From owner-cvs-usrsbin Sat Mar 29 04:50:44 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA26162 for cvs-usrsbin-outgoing; Sat, 29 Mar 1997 04:50:44 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA26154; Sat, 29 Mar 1997 04:50:42 -0800 (PST) Date: Sat, 29 Mar 1997 04:50:42 -0800 (PST) From: Bruce Evans Message-Id: <199703291250.EAA26154@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin, cvs-usrsbin Subject: cvs commit: src/usr.bin/fstat fstat.c src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/03/29 04:50:42 Modified: usr.bin/fstat fstat.c usr.sbin/pstat pstat.c Log: Removed `#define KERNEL'. This was a hack-around for nfs.h being broken in the Lite2 merge to not export some nfs constants. It started causing warnings when I added a kernel-only #define for DIRBLKSIZ. Removed `#define NFS'. This was an old, bad interface for telling to export nfs stuff. Revision Changes Path 1.10 +0 -4 src/usr.bin/fstat/fstat.c 1.28 +0 -4 src/usr.sbin/pstat/pstat.c