From owner-cvs-usrsbin Sun Oct 19 03:45:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA01787 for cvs-usrsbin-outgoing; Sun, 19 Oct 1997 03:45:15 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA01735; Sun, 19 Oct 1997 03:44:19 -0700 (PDT) (envelope-from joerg@FreeBSD.org) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA15325; Sun, 19 Oct 1997 03:42:46 -0700 (PDT) Date: Sun, 19 Oct 1997 03:42:46 -0700 (PDT) Message-Id: <199710191042.DAA15325@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd bootparamd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/10/19 03:42:45 PDT Modified files: usr.sbin/bootparamd/bootparamd bootparamd.c Log: Fix a number of buffer overflow conditions. PR: bin/4610 Submitted by: David Holland (dholland@burgundy.eecs.harvard.edu) Revision Changes Path 1.8 +17 -9 src/usr.sbin/bootparamd/bootparamd/bootparamd.c From owner-cvs-usrsbin Sun Oct 19 03:46:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA01867 for cvs-usrsbin-outgoing; Sun, 19 Oct 1997 03:46:32 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA01820; Sun, 19 Oct 1997 03:46:04 -0700 (PDT) (envelope-from joerg@FreeBSD.org) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA15455; Sun, 19 Oct 1997 03:44:31 -0700 (PDT) Date: Sun, 19 Oct 1997 03:44:31 -0700 (PDT) Message-Id: <199710191044.DAA15455@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd bootparamd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/10/19 03:44:30 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/bootparamd/bootparamd bootparamd.c Log: MFC: fix some buffer overflow conds (rev 1.8) Revision Changes Path 1.3.2.2 +17 -9 src/usr.sbin/bootparamd/bootparamd/bootparamd.c From owner-cvs-usrsbin Sun Oct 19 11:43:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA24500 for cvs-usrsbin-outgoing; Sun, 19 Oct 1997 11:43:36 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA24422; Sun, 19 Oct 1997 11:43:00 -0700 (PDT) (envelope-from davidg@FreeBSD.org) From: David Greenman Received: (from davidg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA05801; Sun, 19 Oct 1997 11:41:24 -0700 (PDT) Date: Sun, 19 Oct 1997 11:41:24 -0700 (PDT) Message-Id: <199710191841.LAA05801@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 1997/10/19 11:41:24 PDT Modified files: usr.sbin/pstat pstat.c Log: "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since we no longer support that sysctl (in my opinion, pstat -v is a security hole in any case). Revision Changes Path 1.32 +6 -2 src/usr.sbin/pstat/pstat.c From owner-cvs-usrsbin Sun Oct 19 11:44:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA24651 for cvs-usrsbin-outgoing; Sun, 19 Oct 1997 11:44:44 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA24552; Sun, 19 Oct 1997 11:44:00 -0700 (PDT) (envelope-from davidg@FreeBSD.org) From: David Greenman Received: (from davidg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA05837; Sun, 19 Oct 1997 11:42:24 -0700 (PDT) Date: Sun, 19 Oct 1997 11:42:24 -0700 (PDT) Message-Id: <199710191842.LAA05837@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 1997/10/19 11:42:24 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/pstat pstat.c Log: MFC: rev 1.32: Fix for pstat -T. Revision Changes Path 1.25.2.4 +6 -2 src/usr.sbin/pstat/pstat.c From owner-cvs-usrsbin Sun Oct 19 11:49:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA25027 for cvs-usrsbin-outgoing; Sun, 19 Oct 1997 11:49:26 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA25006; Sun, 19 Oct 1997 11:49:16 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: by burka.rdy.com id LAA11480; (8.8.7/RDY) Sun, 19 Oct 1997 11:49:14 -0700 (PDT) Message-Id: <199710191849.LAA11480@burka.rdy.com> Subject: Re: cvs commit: src/usr.sbin/pstat pstat.c In-Reply-To: <199710191841.LAA05801@freefall.freebsd.org> from David Greenman at "Oct 19, 97 11:41:24 am" To: davidg@FreeBSD.ORG (David Greenman) Date: Sun, 19 Oct 1997 11:49:14 -0700 (PDT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk David Greenman writes: > davidg 1997/10/19 11:41:24 PDT > > Modified files: > usr.sbin/pstat pstat.c > Log: > "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since > we no longer support that sysctl (in my opinion, pstat -v is a security > hole in any case). Are you going to commint it to 2.2 branch? > > Revision Changes Path > 1.32 +6 -2 src/usr.sbin/pstat/pstat.c > -- dima From owner-cvs-usrsbin Sun Oct 19 11:51:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA25280 for cvs-usrsbin-outgoing; Sun, 19 Oct 1997 11:51:28 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA25262; Sun, 19 Oct 1997 11:51:21 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id LAA15066; Sun, 19 Oct 1997 11:54:10 -0700 (PDT) Message-Id: <199710191854.LAA15066@implode.root.com> To: dima@best.net cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/pstat pstat.c In-reply-to: Your message of "Sun, 19 Oct 1997 11:49:14 PDT." <199710191849.LAA11480@burka.rdy.com> From: David Greenman Reply-To: dg@root.com Date: Sun, 19 Oct 1997 11:54:10 -0700 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >David Greenman writes: >> davidg 1997/10/19 11:41:24 PDT >> >> Modified files: >> usr.sbin/pstat pstat.c >> Log: >> "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since >> we no longer support that sysctl (in my opinion, pstat -v is a security >> hole in any case). > >Are you going to commint it to 2.2 branch? If you had waited another 30 seconds, you would have seen the commit. :-) -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-usrsbin Mon Oct 20 05:44:17 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA19594 for cvs-usrsbin-outgoing; Mon, 20 Oct 1997 05:44:17 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA19490; Mon, 20 Oct 1997 05:43:25 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA21658; Mon, 20 Oct 1997 05:41:43 -0700 (PDT) Date: Mon, 20 Oct 1997 05:41:43 -0700 (PDT) Message-Id: <199710201241.FAA21658@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/slstat slstat.8 slstat.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/20 05:41:42 PDT Modified files: usr.sbin/slstat slstat.8 slstat.c Log: Hardcode progname in usage string. Revision Changes Path 1.11 +2 -2 src/usr.sbin/slstat/slstat.8 1.12 +8 -9 src/usr.sbin/slstat/slstat.c From owner-cvs-usrsbin Mon Oct 20 05:44:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA19630 for cvs-usrsbin-outgoing; Mon, 20 Oct 1997 05:44:58 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA19605; Mon, 20 Oct 1997 05:44:46 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA21695; Mon, 20 Oct 1997 05:43:04 -0700 (PDT) Date: Mon, 20 Oct 1997 05:43:04 -0700 (PDT) Message-Id: <199710201243.FAA21695@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/spkrtest spkrtest.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/20 05:43:04 PDT Modified files: usr.sbin/spkrtest spkrtest.8 Log: Typo. Revision Changes Path 1.7 +4 -3 src/usr.sbin/spkrtest/spkrtest.8 From owner-cvs-usrsbin Mon Oct 20 05:46:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA19721 for cvs-usrsbin-outgoing; Mon, 20 Oct 1997 05:46:45 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA19698; Mon, 20 Oct 1997 05:46:36 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA21739; Mon, 20 Oct 1997 05:44:54 -0700 (PDT) Date: Mon, 20 Oct 1997 05:44:54 -0700 (PDT) Message-Id: <199710201244.FAA21739@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/spray spray.8 spray.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/20 05:44:54 PDT Modified files: usr.sbin/spray spray.8 spray.c Log: Fix usage in man page. Remove progname. Revision Changes Path 1.3 +1 -5 src/usr.sbin/spray/spray.8 1.4 +12 -10 src/usr.sbin/spray/spray.c From owner-cvs-usrsbin Mon Oct 20 05:53:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA20150 for cvs-usrsbin-outgoing; Mon, 20 Oct 1997 05:53:30 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA20123; Mon, 20 Oct 1997 05:53:17 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA21865; Mon, 20 Oct 1997 05:51:35 -0700 (PDT) Date: Mon, 20 Oct 1997 05:51:35 -0700 (PDT) Message-Id: <199710201251.FAA21865@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/stallion/bootcode Makefile stl.4 stli.4 src/usr.sbin/stallion/stlload stlload.8 stlload.c src/usr.sbin/stallion/stlstats stlstats.8 stlstats.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/20 05:51:35 PDT Modified files: usr.sbin/stallion/bootcode Makefile stl.4 Removed files: usr.sbin/stallion/bootcode stli.4 Log: Use err(3). Remove progname. Remove stli.4 with is a duplicate of stl.4, use MLINKS instead. Revision Changes Path 1.7 +3 -2 src/usr.sbin/stallion/bootcode/Makefile 1.4 +18 -15 src/usr.sbin/stallion/bootcode/stl.4 Modified files: usr.sbin/stallion/stlload stlload.8 stlload.c usr.sbin/stallion/stlstats stlstats.8 stlstats.c Log: Use err(3). Remove progname. Revision Changes Path 1.3 +10 -7 src/usr.sbin/stallion/stlload/stlload.8 1.7 +51 -113 src/usr.sbin/stallion/stlload/stlload.c 1.3 +12 -8 src/usr.sbin/stallion/stlstats/stlstats.8 1.6 +32 -56 src/usr.sbin/stallion/stlstats/stlstats.c From owner-cvs-usrsbin Mon Oct 20 05:55:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA20253 for cvs-usrsbin-outgoing; Mon, 20 Oct 1997 05:55:46 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA20229; Mon, 20 Oct 1997 05:55:37 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA21916; Mon, 20 Oct 1997 05:53:55 -0700 (PDT) Date: Mon, 20 Oct 1997 05:53:55 -0700 (PDT) Message-Id: <199710201253.FAA21916@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/sysctl pathconf.c sysctl.8 sysctl.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/20 05:53:55 PDT Modified files: usr.sbin/sysctl pathconf.c sysctl.8 sysctl.c Log: Use err(3). Change err(-1,... to err(1,... Revision Changes Path 1.3 +27 -16 src/usr.sbin/sysctl/pathconf.c 1.14 +30 -35 src/usr.sbin/sysctl/sysctl.8 1.15 +29 -31 src/usr.sbin/sysctl/sysctl.c From owner-cvs-usrsbin Mon Oct 20 05:57:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA20424 for cvs-usrsbin-outgoing; Mon, 20 Oct 1997 05:57:50 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA20391; Mon, 20 Oct 1997 05:57:32 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA21972; Mon, 20 Oct 1997 05:55:50 -0700 (PDT) Date: Mon, 20 Oct 1997 05:55:50 -0700 (PDT) Message-Id: <199710201255.FAA21972@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/syslogd syslog.conf.5 syslogd.8 syslogd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/20 05:55:50 PDT Modified files: usr.sbin/syslogd syslog.conf.5 syslogd.8 syslogd.c Log: Cosmetic in usage string. Revision Changes Path 1.9 +2 -3 src/usr.sbin/syslogd/syslog.conf.5 1.13 +9 -9 src/usr.sbin/syslogd/syslogd.8 1.27 +12 -9 src/usr.sbin/syslogd/syslogd.c From owner-cvs-usrsbin Tue Oct 21 17:39:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA22013 for cvs-usrsbin-outgoing; Tue, 21 Oct 1997 17:39:30 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA21971; Tue, 21 Oct 1997 17:38:57 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA12466; Tue, 21 Oct 1997 17:38:49 -0700 (PDT) Date: Tue, 21 Oct 1997 17:38:49 -0700 (PDT) Message-Id: <199710220038.RAA12466@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/config configvers.h mkmakefile.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/10/21 17:38:49 PDT Modified files: usr.sbin/config mkmakefile.c Added files: usr.sbin/config configvers.h Log: Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8) and the kernel will have a 'config interface version number'. If an incompatable change is made to the kernel that requires a rebuild of config(8) (such as the cam devtab stuff), then the version number would be bumped in both places. If a user neglects to rebuild config, then they will get a nagging (but non-fatal) warning that they need to rebuild config. Revision Changes Path 1.23 +11 -2 src/usr.sbin/config/mkmakefile.c From owner-cvs-usrsbin Tue Oct 21 17:45:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA22438 for cvs-usrsbin-outgoing; Tue, 21 Oct 1997 17:45:32 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA22363; Tue, 21 Oct 1997 17:44:17 -0700 (PDT) (envelope-from peter@FreeBSD.org) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA12500; Tue, 21 Oct 1997 17:44:09 -0700 (PDT) Date: Tue, 21 Oct 1997 17:44:09 -0700 (PDT) Message-Id: <199710220044.RAA12500@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/config Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/10/21 17:44:09 PDT Modified files: usr.sbin/config Makefile Log: For safety's sake, explicitly depend all objects on the configvers.h header to make sure that it's all recompiled even if there is no 'make depend'. This is overkill, but should be one less thing that someone can do wrong. Revision Changes Path 1.15 +2 -0 src/usr.sbin/config/Makefile From owner-cvs-usrsbin Tue Oct 21 18:23:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA24265 for cvs-usrsbin-outgoing; Tue, 21 Oct 1997 18:23:45 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA24216; Tue, 21 Oct 1997 18:23:04 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA12679; Tue, 21 Oct 1997 18:22:56 -0700 (PDT) Date: Tue, 21 Oct 1997 18:22:56 -0700 (PDT) Message-Id: <199710220122.SAA12679@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp log.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/21 18:22:55 PDT Modified files: usr.sbin/ppp log.c Log: Fix HDLC logging (actually LogDumpBp()). It was only outputting the first mbuf in the chain. Revision Changes Path 1.16 +27 -2 src/usr.sbin/ppp/log.c From owner-cvs-usrsbin Tue Oct 21 23:20:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA09370 for cvs-usrsbin-outgoing; Tue, 21 Oct 1997 23:20:35 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA09333; Tue, 21 Oct 1997 23:20:14 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA14033; Tue, 21 Oct 1997 23:20:05 -0700 (PDT) Date: Tue, 21 Oct 1997 23:20:05 -0700 (PDT) Message-Id: <199710220620.XAA14033@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/timed/timed acksend.c byteorder.c candidate.c cksum.c correct.c globals.h master.c measure.c networkdelta.c readmsg.c slave.c timed.8 timed.c src/usr.sbin/timed/timedc cmds.c cmdtab.c timedc.8 timedc.c ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/21 23:20:04 PDT Modified files: usr.sbin/timed/timed acksend.c byteorder.c candidate.c cksum.c correct.c globals.h master.c measure.c networkdelta.c readmsg.c slave.c timed.8 timed.c usr.sbin/timed/timedc cmds.c cmdtab.c timedc.8 timedc.c timedc.h Log: Use err(3). Sync man page and usage string. Strcpy -> strncpy from OpenBSD. -Wall cleaning. Obtained from: OpenBSD Revision Changes Path 1.2 +6 -5 src/usr.sbin/timed/timed/acksend.c 1.3 +4 -4 src/usr.sbin/timed/timed/byteorder.c 1.3 +9 -6 src/usr.sbin/timed/timed/candidate.c 1.2 +4 -4 src/usr.sbin/timed/timed/cksum.c 1.2 +7 -5 src/usr.sbin/timed/timed/correct.c 1.2 +2 -2 src/usr.sbin/timed/timed/globals.h 1.3 +35 -16 src/usr.sbin/timed/timed/master.c 1.4 +5 -6 src/usr.sbin/timed/timed/measure.c 1.2 +4 -4 src/usr.sbin/timed/timed/networkdelta.c 1.2 +6 -5 src/usr.sbin/timed/timed/readmsg.c 1.3 +52 -21 src/usr.sbin/timed/timed/slave.c 1.5 +19 -12 src/usr.sbin/timed/timed/timed.8 1.5 +78 -89 src/usr.sbin/timed/timed/timed.c 1.3 +35 -37 src/usr.sbin/timed/timedc/cmds.c 1.2 +4 -0 src/usr.sbin/timed/timedc/cmdtab.c 1.4 +6 -6 src/usr.sbin/timed/timedc/timedc.8 1.2 +11 -12 src/usr.sbin/timed/timedc/timedc.c 1.2 +0 -2 src/usr.sbin/timed/timedc/timedc.h From owner-cvs-usrsbin Tue Oct 21 23:23:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA09513 for cvs-usrsbin-outgoing; Tue, 21 Oct 1997 23:23:53 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA09471; Tue, 21 Oct 1997 23:23:22 -0700 (PDT) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA14077; Tue, 21 Oct 1997 23:23:13 -0700 (PDT) Date: Tue, 21 Oct 1997 23:23:13 -0700 (PDT) Message-Id: <199710220623.XAA14077@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/trpt trpt.8 trpt.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/10/21 23:23:13 PDT Modified files: usr.sbin/trpt trpt.8 trpt.c Log: Use err(3). Add usage() and prototypes. Hide reference to trsp(8) that does not exist. Revision Changes Path 1.4 +8 -7 src/usr.sbin/trpt/trpt.8 1.8 +48 -46 src/usr.sbin/trpt/trpt.c From owner-cvs-usrsbin Thu Oct 23 02:51:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA15131 for cvs-usrsbin-outgoing; Thu, 23 Oct 1997 02:51:43 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA15086; Thu, 23 Oct 1997 02:51:15 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA08586; Thu, 23 Oct 1997 02:50:56 -0700 (PDT) Date: Thu, 23 Oct 1997 02:50:56 -0700 (PDT) Message-Id: <199710230950.CAA08586@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp log.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/23 02:50:56 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/ppp log.c Log: MFC: Fix HDLC logging. Revision Changes Path 1.4.2.9 +27 -2 src/usr.sbin/ppp/log.c From owner-cvs-usrsbin Thu Oct 23 03:10:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA16335 for cvs-usrsbin-outgoing; Thu, 23 Oct 1997 03:10:20 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA16267; Thu, 23 Oct 1997 03:09:56 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA08716; Thu, 23 Oct 1997 03:09:37 -0700 (PDT) Date: Thu, 23 Oct 1997 03:09:37 -0700 (PDT) Message-Id: <199710231009.DAA08716@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp filter.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/23 03:09:36 PDT Modified files: usr.sbin/ppp filter.c Log: Fix various filter problems PR: 4727 Submitted by: Chiharu Shibata Revision Changes Path 1.15 +12 -11 src/usr.sbin/ppp/filter.c From owner-cvs-usrsbin Thu Oct 23 13:12:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA24451 for cvs-usrsbin-outgoing; Thu, 23 Oct 1997 13:12:11 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA24400; Thu, 23 Oct 1997 13:11:26 -0700 (PDT) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id NAA28967; Thu, 23 Oct 1997 13:11:03 -0700 (PDT) Date: Thu, 23 Oct 1997 13:11:03 -0700 (PDT) Message-Id: <199710232011.NAA28967@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp timer.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/10/23 13:11:02 PDT Modified files: usr.sbin/ppp timer.c Log: Remove private sleep/usleep hacks Revision Changes Path 1.19 +1 -63 src/usr.sbin/ppp/timer.c From owner-cvs-usrsbin Thu Oct 23 14:34:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA29461 for cvs-usrsbin-outgoing; Thu, 23 Oct 1997 14:34:19 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA29389; Thu, 23 Oct 1997 14:33:11 -0700 (PDT) (envelope-from ache@FreeBSD.org) From: "Andrey A. Chernov" Received: (from ache@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA29132; Thu, 23 Oct 1997 14:32:49 -0700 (PDT) Date: Thu, 23 Oct 1997 14:32:49 -0700 (PDT) Message-Id: <199710232132.OAA29132@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp defs.h timer.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ache 1997/10/23 14:32:48 PDT Modified files: usr.sbin/ppp defs.h timer.c Log: Restore back non-interruptable sleep/usleep just redefine them to not mix with standard library functions Revision Changes Path 1.20 +9 -1 src/usr.sbin/ppp/defs.h 1.20 +63 -1 src/usr.sbin/ppp/timer.c From owner-cvs-usrsbin Fri Oct 24 01:33:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA02900 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 01:33:05 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA02861; Fri, 24 Oct 1997 01:32:34 -0700 (PDT) (envelope-from max@FreeBSD.org) From: Masafumi NAKANE Received: (from max@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA02365; Fri, 24 Oct 1997 01:32:08 -0700 (PDT) Date: Fri, 24 Oct 1997 01:32:08 -0700 (PDT) Message-Id: <199710240832.BAA02365@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pkg_install/add extract.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk max 1997/10/24 01:32:07 PDT Modified files: usr.sbin/pkg_install/add extract.c Log: Pkg_add refused to process package whose packing list contains @exec/@unexec before any file names. This change makes pkg_add to process those packages if @exec/@unexec commands don't contain any %[fFB]. Also enable @exec/@unexec that have %D if the installation prefix is known to pkg_add. Reviewed by: jkh Revision Changes Path 1.18 +6 -2 src/usr.sbin/pkg_install/add/extract.c From owner-cvs-usrsbin Fri Oct 24 15:37:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA25857 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 15:37:58 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA25814; Fri, 24 Oct 1997 15:37:06 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA21871; Fri, 24 Oct 1997 15:36:34 -0700 (PDT) Date: Fri, 24 Oct 1997 15:36:34 -0700 (PDT) Message-Id: <199710242236.PAA21871@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/24 15:36:34 PDT Modified files: usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c Log: sleep => nointr_sleep usleep => nointr_usleep (not just a #define) Already done by: ache Revision Changes Path 1.34 +3 -3 src/usr.sbin/ppp/chat.c 1.87 +2 -2 src/usr.sbin/ppp/command.c 1.21 +3 -5 src/usr.sbin/ppp/defs.h 1.84 +6 -6 src/usr.sbin/ppp/main.c 1.59 +3 -3 src/usr.sbin/ppp/modem.c 1.21 +3 -3 src/usr.sbin/ppp/timer.c From owner-cvs-usrsbin Fri Oct 24 16:07:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA27148 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 16:07:33 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA27099; Fri, 24 Oct 1997 16:06:43 -0700 (PDT) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id DAA10245; Sat, 25 Oct 1997 03:06:24 +0400 (MSD) (envelope-from ache) Date: Sat, 25 Oct 1997 03:06:20 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Brian Somers cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c In-Reply-To: <199710242236.PAA21871@freefall.freebsd.org> 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 Fri, 24 Oct 1997, Brian Somers wrote: > brian 1997/10/24 15:36:34 PDT > > Modified files: > usr.sbin/ppp chat.c command.c defs.h main.c modem.c > timer.c > Log: > sleep => nointr_sleep > usleep => nointr_usleep > (not just a #define) I already think about this way... Someone can add new sleep()s into code not thinking that it can be interrupted, so I decide to do #define. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-usrsbin Fri Oct 24 16:17:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA27798 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 16:17:01 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA27746; Fri, 24 Oct 1997 16:16:18 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id QAA22924; Fri, 24 Oct 1997 16:15:47 -0700 (PDT) Date: Fri, 24 Oct 1997 16:15:47 -0700 (PDT) Message-Id: <199710242315.QAA22924@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/24 16:15:46 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c Log: MFC: sleep => nointr_sleep usleep => nointr_usleep Revision Changes Path 1.11.2.17 +3 -3 src/usr.sbin/ppp/chat.c 1.24.2.44 +2 -2 src/usr.sbin/ppp/command.c 1.4.2.10 +7 -1 src/usr.sbin/ppp/defs.h 1.22.2.43 +6 -6 src/usr.sbin/ppp/main.c 1.24.2.27 +3 -3 src/usr.sbin/ppp/modem.c 1.5.2.7 +3 -3 src/usr.sbin/ppp/timer.c From owner-cvs-usrsbin Fri Oct 24 16:17:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA27850 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 16:17:47 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA27814; Fri, 24 Oct 1997 16:17:23 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id QAA23256; Fri, 24 Oct 1997 16:16:52 -0700 (PDT) Date: Fri, 24 Oct 1997 16:16:52 -0700 (PDT) Message-Id: <199710242316.QAA23256@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp filter.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/24 16:16:51 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/ppp filter.c Log: MFC: Fix various filter problems Revision Changes Path 1.6.2.7 +12 -11 src/usr.sbin/ppp/filter.c From owner-cvs-usrsbin Fri Oct 24 16:21:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA28111 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 16:21:40 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA28098; Fri, 24 Oct 1997 16:21:18 -0700 (PDT) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id AAA25601; Sat, 25 Oct 1997 00:20:58 +0100 (BST) Message-Id: <199710242320.AAA25601@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: Brian Somers , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c In-reply-to: Your message of "Sat, 25 Oct 1997 03:06:20 +0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 25 Oct 1997 00:20:58 +0100 From: Brian Somers Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Fri, 24 Oct 1997, Brian Somers wrote: > > > brian 1997/10/24 15:36:34 PDT > > > > Modified files: > > usr.sbin/ppp chat.c command.c defs.h main.c modem.c > > timer.c > > Log: > > sleep => nointr_sleep > > usleep => nointr_usleep > > (not just a #define) > > I already think about this way... Someone can add new sleep()s into code > not thinking that it can be interrupted, so I decide to do #define. This works both ways though - with the #define we're obscuring the fact that it's not the *real* [u]sleep(). I considered having a #define sleep DontUseSleep, but then retrospectively thought that people should really test their changes (and figure out that sleep is a no-no). > -- > Andrey A. Chernov > > http://www.nagual.pp.ru/~ache/ > -- Brian , , Don't _EVER_ lose your sense of humour.... From owner-cvs-usrsbin Fri Oct 24 16:31:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA28555 for cvs-usrsbin-outgoing; Fri, 24 Oct 1997 16:31:25 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from lsd.relcom.eu.net (lsd.relcom.eu.net [193.124.23.23]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA28522; Fri, 24 Oct 1997 16:30:56 -0700 (PDT) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.7/8.8.7) id DAA10453; Sat, 25 Oct 1997 03:30:32 +0400 (MSD) (envelope-from ache) Date: Sat, 25 Oct 1997 03:30:29 +0400 (MSD) From: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= X-Sender: ache@lsd.relcom.eu.net To: Brian Somers cc: Brian Somers , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp chat.c command.c defs.h main.c modem.c timer.c In-Reply-To: <199710242320.AAA25601@awfulhak.demon.co.uk> 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 Sat, 25 Oct 1997, Brian Somers wrote: > I considered having a #define sleep DontUseSleep, but then Nice idea. > retrospectively thought that people should really test their changes > (and figure out that sleep is a no-no). Sometimes it is hard to test this particular thing (shorter sleep). You may never notice that sleep is shorter, f.e. in modem chat code: sleeping short may pass on some modems but not work on some others. -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ From owner-cvs-usrsbin Sat Oct 25 18:06:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA04137 for cvs-usrsbin-outgoing; Sat, 25 Oct 1997 18:06:57 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA03879; Sat, 25 Oct 1997 18:04:52 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA03064; Sat, 25 Oct 1997 18:04:12 -0700 (PDT) Date: Sat, 25 Oct 1997 18:04:12 -0700 (PDT) Message-Id: <199710260104.SAA03064@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp async.h defs.c phase.c timer.h vjcomp.h Makefile alias_cmd.c alias_cmd.h arp.c arp.h async.c auth.c auth.h ccp.c ccp.h chap.c chap.h chap_ms.c chap_ms.h chat.c chat.h command.c command.h defs.h filter.c filter.h fsm.c fsm.h ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/10/25 18:04:10 PDT Modified files: usr.sbin/ppp Makefile alias_cmd.c alias_cmd.h arp.c arp.h async.c auth.c auth.h ccp.c ccp.h chap.c chap.h chap_ms.c chap_ms.h chat.c chat.h command.c command.h defs.h filter.c filter.h fsm.c fsm.h hdlc.c hdlc.h ip.c ip.h ipcp.c ipcp.h lcp.c lcp.h lcpproto.h loadalias.c loadalias.h log.c log.h lqr.c lqr.h main.c main.h mbuf.c mbuf.h modem.c modem.h os.c os.h pap.c pap.h pathnames.h phase.h pred.c pred.h route.c route.h server.c server.h sig.c sig.h slcompress.c slcompress.h systems.c systems.h timer.c vars.c vars.h vjcomp.c Added files: usr.sbin/ppp async.h defs.c phase.c timer.h vjcomp.h Removed files: usr.sbin/ppp global.h timeout.h Log: Cosmetic (no functional changes): o Add missing $Id$s o Move extern decls from .c -> .h files o Staticize o Remove #includes from .h files o style(9)ify includes o bcopy -> memcpy bzero -> memset bcmp -> memcmp index -> strchr rindex -> strrchr o Move timeout.h -> timer.h (making it consistent w/ timer.c) o Add -Wmissing-prototypes Revision Changes Path 1.28 +5 -5 src/usr.sbin/ppp/Makefile 1.6 +21 -30 src/usr.sbin/ppp/alias_cmd.c 1.3 +5 -4 src/usr.sbin/ppp/alias_cmd.h 1.16 +22 -124 src/usr.sbin/ppp/arp.c 1.6 +1 -5 src/usr.sbin/ppp/arp.h 1.12 +22 -9 src/usr.sbin/ppp/async.c 1.18 +22 -12 src/usr.sbin/ppp/auth.c 1.9 +7 -13 src/usr.sbin/ppp/auth.h 1.17 +31 -20 src/usr.sbin/ppp/ccp.c 1.8 +9 -12 src/usr.sbin/ppp/ccp.h 1.24 +48 -38 src/usr.sbin/ppp/chap.c 1.8 +3 -8 src/usr.sbin/ppp/chap.h 1.2 +17 -12 src/usr.sbin/ppp/chap_ms.c 1.2 +6 -8 src/usr.sbin/ppp/chap_ms.h 1.35 +37 -28 src/usr.sbin/ppp/chat.c 1.8 +5 -6 src/usr.sbin/ppp/chat.h 1.88 +45 -69 src/usr.sbin/ppp/command.c 1.8 +9 -2 src/usr.sbin/ppp/command.h 1.22 +23 -45 src/usr.sbin/ppp/defs.h 1.16 +31 -25 src/usr.sbin/ppp/filter.c 1.10 +15 -12 src/usr.sbin/ppp/filter.h 1.20 +46 -27 src/usr.sbin/ppp/fsm.c 1.11 +10 -26 src/usr.sbin/ppp/fsm.h 1.20 +19 -4 src/usr.sbin/ppp/hdlc.c 1.11 +10 -13 src/usr.sbin/ppp/hdlc.h 1.26 +30 -15 src/usr.sbin/ppp/ip.c 1.6 +1 -5 src/usr.sbin/ppp/ip.h 1.31 +51 -43 src/usr.sbin/ppp/ipcp.c 1.11 +9 -14 src/usr.sbin/ppp/ipcp.h 1.40 +43 -81 src/usr.sbin/ppp/lcp.c 1.9 +4 -6 src/usr.sbin/ppp/lcp.h 1.9 +9 -14 src/usr.sbin/ppp/lcpproto.h 1.8 +11 -5 src/usr.sbin/ppp/loadalias.c 1.3 +16 -13 src/usr.sbin/ppp/loadalias.h 1.17 +9 -3 src/usr.sbin/ppp/log.c 1.14 +8 -4 src/usr.sbin/ppp/log.h 1.19 +11 -1 src/usr.sbin/ppp/lqr.c 1.8 +1 -6 src/usr.sbin/ppp/lqr.h 1.85 +48 -42 src/usr.sbin/ppp/main.c 1.7 +9 -6 src/usr.sbin/ppp/main.h 1.10 +13 -6 src/usr.sbin/ppp/mbuf.c 1.7 +12 -17 src/usr.sbin/ppp/mbuf.h 1.60 +34 -30 src/usr.sbin/ppp/modem.c 1.10 +4 -10 src/usr.sbin/ppp/modem.h 1.28 +30 -27 src/usr.sbin/ppp/os.c 1.9 +7 -11 src/usr.sbin/ppp/os.h 1.18 +29 -17 src/usr.sbin/ppp/pap.c 1.4 +3 -5 src/usr.sbin/ppp/pap.h 1.8 +1 -5 src/usr.sbin/ppp/pathnames.h 1.8 +2 -8 src/usr.sbin/ppp/phase.h 1.15 +21 -11 src/usr.sbin/ppp/pred.c 1.6 +2 -7 src/usr.sbin/ppp/pred.h 1.20 +19 -17 src/usr.sbin/ppp/route.c 1.6 +5 -6 src/usr.sbin/ppp/route.h 1.6 +15 -19 src/usr.sbin/ppp/server.c 1.3 +5 -8 src/usr.sbin/ppp/server.h 1.9 +5 -33 src/usr.sbin/ppp/sig.c 1.10 +3 -33 src/usr.sbin/ppp/sig.h 1.13 +29 -22 src/usr.sbin/ppp/slcompress.c 1.9 +8 -19 src/usr.sbin/ppp/slcompress.h 1.17 +20 -8 src/usr.sbin/ppp/systems.c 1.7 +5 -5 src/usr.sbin/ppp/systems.h 1.22 +16 -8 src/usr.sbin/ppp/timer.c 1.31 +20 -2 src/usr.sbin/ppp/vars.c 1.31 +49 -43 src/usr.sbin/ppp/vars.h 1.11 +14 -4 src/usr.sbin/ppp/vjcomp.c From owner-cvs-usrsbin Sat Oct 25 21:16:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA16115 for cvs-usrsbin-outgoing; Sat, 25 Oct 1997 21:16:08 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA15980; Sat, 25 Oct 1997 21:14:31 -0700 (PDT) (envelope-from nate@FreeBSD.org) From: Nate Williams Received: (from nate@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA06958; Sat, 25 Oct 1997 21:13:49 -0700 (PDT) Date: Sat, 25 Oct 1997 21:13:49 -0700 (PDT) Message-Id: <199710260413.VAA06958@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pccard/pccardc Makefile enabler.c src/usr.sbin/pccard/pccardd cardd.c cardd.h file.c pccard.conf.5 readcis.c util.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 1997/10/25 21:13:49 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/pccard/pccardc Makefile enabler.c usr.sbin/pccard/pccardd cardd.c cardd.h file.c pccard.conf.5 readcis.c util.c Log: MFC: Cleanup, staticize, fix the manpage, etc.. [ No real functional changes. ] Revision Changes Path 1.3.2.1 +3 -3 src/usr.sbin/pccard/pccardc/Makefile 1.5.2.2 +2 -2 src/usr.sbin/pccard/pccardc/enabler.c 1.13.2.2 +44 -73 src/usr.sbin/pccard/pccardd/cardd.c 1.5.2.1 +24 -16 src/usr.sbin/pccard/pccardd/cardd.h 1.8.2.2 +8 -8 src/usr.sbin/pccard/pccardd/file.c 1.3.2.3 +2 -5 src/usr.sbin/pccard/pccardd/pccard.conf.5 1.6.2.2 +2 -3 src/usr.sbin/pccard/pccardd/readcis.c 1.6.2.2 +56 -8 src/usr.sbin/pccard/pccardd/util.c From owner-cvs-usrsbin Sat Oct 25 21:38:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA17198 for cvs-usrsbin-outgoing; Sat, 25 Oct 1997 21:38:53 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA17123; Sat, 25 Oct 1997 21:37:07 -0700 (PDT) (envelope-from nate@FreeBSD.org) From: Nate Williams Received: (from nate@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA07285; Sat, 25 Oct 1997 21:36:25 -0700 (PDT) Date: Sat, 25 Oct 1997 21:36:25 -0700 (PDT) Message-Id: <199710260436.VAA07285@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/sys/conf files src/sys/i386/conf GENERIC LINT SMP-GENERIC majors.i386 src/sys/i386/i386 autoconf.c src/sys/i386/isa aic6360.c if_ed.c if_ep.c if_fe.c if_ze.c if_zp.c sio.c src/sys/pccard card.h driver.h pccard.c pcic.c skel.c slot.h ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 1997/10/25 21:36:24 PDT Modified files: sys/conf files sys/i386/conf GENERIC LINT SMP-GENERIC majors.i386 sys/i386/i386 autoconf.c sys/i386/isa aic6360.c if_ed.c if_ep.c if_fe.c if_ze.c if_zp.c sio.c sys/pccard card.h driver.h pccard.c pcic.c skel.c slot.h usr.sbin/pccard/pccardc enabler.c usr.sbin/pccard/pccardd cardd.c Log: - Do a bunch of gratuitous changes intended to make the code easier to follow. * Rename/reorder all of the pccard structures, change many of the member names to be descriptive, and follow more closely other 'bus' drivers naming schemes. * Rename a bunch of parameter and local variable names to be more consistant in the code. * Renamed the PCCARD 'crd' device to be the 'card' device * KNF and make the code consistant where it was obvious. * ifdef'd out some unused code Revision Changes Path 1.115 +1 -1 src/sys/conf/files 1.99 +4 -4 src/sys/i386/conf/GENERIC 1.376 +5 -5 src/sys/i386/conf/LINT 1.8 +4 -4 src/sys/i386/conf/SMP-GENERIC 1.19 +2 -2 src/sys/i386/conf/majors.i386 1.78 +4 -4 src/sys/i386/i386/autoconf.c 1.33 +43 -41 src/sys/i386/isa/aic6360.c 1.123 +50 -50 src/sys/i386/isa/if_ed.c 1.62 +49 -54 src/sys/i386/isa/if_ep.c 1.30 +55 -56 src/sys/i386/isa/if_fe.c 1.46 +3 -3 src/sys/i386/isa/if_ze.c 1.40 +3 -3 src/sys/i386/isa/if_zp.c 1.185 +41 -41 src/sys/i386/isa/sio.c 1.6 +2 -2 src/sys/pccard/card.h 1.3 +3 -3 src/sys/pccard/driver.h 1.47 +295 -292 src/sys/pccard/pccard.c 1.49 +75 -76 src/sys/pccard/pcic.c 1.3 +8 -8 src/sys/pccard/skel.c 1.13 +24 -21 src/sys/pccard/slot.h 1.9 +2 -2 src/usr.sbin/pccard/pccardc/enabler.c 1.19 +2 -2 src/usr.sbin/pccard/pccardd/cardd.c