From owner-cvs-usrsbin Sun May 24 08:14:43 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA29238 for cvs-usrsbin-outgoing; Sun, 24 May 1998 08:14: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.8/8.8.8) with ESMTP id IAA29168; Sun, 24 May 1998 08:14:31 -0700 (PDT) (envelope-from des@FreeBSD.org) From: "Dag-Erling C. Sm\xf8rgrav" Received: (from des@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA25236; Sun, 24 May 1998 08:09:24 -0700 (PDT) Date: Sun, 24 May 1998 08:09:24 -0700 (PDT) Message-Id: <199805241509.IAA25236@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin Makefile src/usr.sbin/chkgrp Makefile chkgrp.8 chkgrp.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk des 1998/05/24 08:09:24 PDT Modified files: usr.sbin Makefile Log: Add chkgrp Revision Changes Path 1.121 +3 -3 src/usr.sbin/Makefile Added files: usr.sbin/chkgrp Makefile chkgrp.8 chkgrp.c Log: Add chkgrp, a small utility for checking for syntax errors in group files. PR: bin/1387 Suggested-by: Giles Lean Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA03626 for cvs-usrsbin-outgoing; Sun, 24 May 1998 08:54:49 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from news1.gtn.com (news1.gtn.com [192.109.159.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA03481; Sun, 24 May 1998 08:54:23 -0700 (PDT) (envelope-from andreas@klemm.gtn.com) Received: (from uucp@localhost) by news1.gtn.com (8.8.6/8.8.6) with UUCP id RAA01579; Sun, 24 May 1998 17:45:12 +0200 (MET DST) Received: (from andreas@localhost) by klemm.gtn.com (8.8.8/8.8.8) id RAA21510; Sun, 24 May 1998 17:34:21 +0200 (CEST) (envelope-from andreas) Message-ID: <19980524173421.A21227@klemm.gtn.com> Date: Sun, 24 May 1998 17:34:21 +0200 From: Andreas Klemm To: "Dag-Erling C. Smf8rgrav" , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-usrsbin@freebsd.org Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/chkgrp Makefile chkgrp.8 chkgrp.c References: <199805241509.IAA25236@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199805241509.IAA25236@freefall.freebsd.org>; from Dag-Erling C. Smf8rgrav on Sun, May 24, 1998 at 08:09:24AM -0700 X-Disclaimer: A free society is one where it is safe to be unpopular X-Operating-System: FreeBSD 3.0-CURRENT SMP Sender: owner-cvs-usrsbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, May 24, 1998 at 08:09:24AM -0700, Dag-Erling C. Smf8rgrav wrote: > Add chkgrp, a small utility for checking for syntax errors in group > files. What about using it under /etc/periodic or within /etc/rc.xxx ? -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' From owner-cvs-usrsbin Sun May 24 08:57:21 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA04026 for cvs-usrsbin-outgoing; Sun, 24 May 1998 08:57:21 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA04015; Sun, 24 May 1998 08:57:07 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id RAA17531; Sun, 24 May 1998 17:57:04 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Sun, 24 May 1998 17:57:04 +0200 (MET DST) Mime-Version: 1.0 To: Andreas Klemm Cc: "Dag-Erling C. Smf8rgrav" , cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-usrsbin@freebsd.org Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/chkgrp Makefile chkgrp.8 chkgrp.c References: <199805241509.IAA25236@freefall.freebsd.org> <19980524173421.A21227@klemm.gtn.com> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-Stop-Spam: http://www.cauce.org From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 24 May 1998 17:57:03 +0200 In-Reply-To: Andreas Klemm's message of "Sun, 24 May 1998 17:34:21 +0200" Message-ID: Lines: 10 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-cvs-usrsbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Andreas Klemm writes: > On Sun, May 24, 1998 at 08:09:24AM -0700, Dag-Erling C. Smf8rgrav wrote: > > Add chkgrp, a small utility for checking for syntax errors in group > > files. > What about using it under /etc/periodic or within /etc/rc.xxx ? Thanks for the suggestion. -- Noone else has a .sig like this one. From owner-cvs-usrsbin Sun May 24 12:43:23 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00921 for cvs-usrsbin-outgoing; Sun, 24 May 1998 12:43:23 -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.8/8.8.8) with ESMTP id MAA00809; Sun, 24 May 1998 12:42:54 -0700 (PDT) (envelope-from steve@FreeBSD.org) From: Steve Price Received: (from steve@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA26348; Sun, 24 May 1998 12:37:45 -0700 (PDT) Date: Sun, 24 May 1998 12:37:45 -0700 (PDT) Message-Id: <199805241937.MAA26348@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pcvt/keycap keycap.src Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 1998/05/24 12:37:45 PDT Modified files: usr.sbin/pcvt/keycap keycap.src Log: Add a fuller-featured Norwegian keycap entry. PR: 6173 Submitted by: Anders Nordby Revision Changes Path 1.3 +23 -6 src/usr.sbin/pcvt/keycap/keycap.src From owner-cvs-usrsbin Sun May 24 12:44:22 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01123 for cvs-usrsbin-outgoing; Sun, 24 May 1998 12:44:22 -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.8/8.8.8) with ESMTP id MAA01069; Sun, 24 May 1998 12:44:11 -0700 (PDT) (envelope-from steve@FreeBSD.org) From: Steve Price Received: (from steve@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA26396; Sun, 24 May 1998 12:39:03 -0700 (PDT) Date: Sun, 24 May 1998 12:39:03 -0700 (PDT) Message-Id: <199805241939.MAA26396@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pcvt/keycap keycap.src Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 1998/05/24 12:39:03 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/pcvt/keycap keycap.src Log: MFC: new Norwegian keycap entry. Revision Changes Path 1.2.6.1 +23 -6 src/usr.sbin/pcvt/keycap/keycap.src From owner-cvs-usrsbin Sun May 24 12:52:20 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02445 for cvs-usrsbin-outgoing; Sun, 24 May 1998 12:52: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.8/8.8.8) with ESMTP id MAA02360; Sun, 24 May 1998 12:52:09 -0700 (PDT) (envelope-from steve@FreeBSD.org) From: Steve Price Received: (from steve@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA26487; Sun, 24 May 1998 12:47:00 -0700 (PDT) Date: Sun, 24 May 1998 12:47:00 -0700 (PDT) Message-Id: <199805241947.MAA26487@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pcvt/keycap keycap.src Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 1998/05/24 12:47:00 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/pcvt/keycap keycap.src Log: Fix Anders Email address. Revision Changes Path 1.2.6.2 +1 -1 src/usr.sbin/pcvt/keycap/keycap.src From owner-cvs-usrsbin Sun May 24 12:54:03 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02736 for cvs-usrsbin-outgoing; Sun, 24 May 1998 12:54:03 -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.8/8.8.8) with ESMTP id MAA02684; Sun, 24 May 1998 12:53:48 -0700 (PDT) (envelope-from steve@FreeBSD.org) From: Steve Price Received: (from steve@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA26545; Sun, 24 May 1998 12:48:39 -0700 (PDT) Date: Sun, 24 May 1998 12:48:39 -0700 (PDT) Message-Id: <199805241948.MAA26545@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pcvt/keycap keycap.src Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 1998/05/24 12:48:39 PDT Modified files: usr.sbin/pcvt/keycap keycap.src Log: Fix Anders Email address. Revision Changes Path 1.4 +1 -1 src/usr.sbin/pcvt/keycap/keycap.src From owner-cvs-usrsbin Sun May 24 19:28:00 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28060 for cvs-usrsbin-outgoing; Sun, 24 May 1998 19:28:00 -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.8/8.8.8) with ESMTP id TAA28009; Sun, 24 May 1998 19:27:51 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA27841; Sun, 24 May 1998 19:22:40 -0700 (PDT) Date: Sun, 24 May 1998 19:22:40 -0700 (PDT) Message-Id: <199805250222.TAA27841@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c datalink.c main.c modem.c mp.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/24 19:22:40 PDT Modified files: usr.sbin/ppp bundle.c datalink.c main.c modem.c mp.c Log: o Don't try to transfer tty device descriptors as there's no way of transferring session rights with them. Instead, create two `/bin/cat' processes. A new child is spawned and disassociated from the terminal and the parent, which continues with the rest of the ppp process. Meanwhile, the parent spawns another child, and both the parent and child exec the `/bin/cat' commands with the appropriate descriptors. This way, the session is owned by the parent, and the tty is held open. o Close LCPs that have done a TLF and are now in ST_STOPPED before calling Down. This prevents them from trying to come back up again after the peer has shut them down (it seems a bit strange that the rfc says that a Down in ST_STOPPED will cause a TLS etc). o Don't try to set the physical link name pointer when we're receiving and renaming a datalink. The physical hasn't been created yet, and as it happens, the garbage physical pointer happens to be the value of another physical - so we're pointing that other physical name at ourselves. yeuck. o Re-arrange the order of things in main (DoLoop()). We now handle signals only after the select and not before the UpdateSet. It's possible that either a signal (FSM timeout) or a descriptor_Read() brings a link down, after which we'd better tidy up any dead direct and 1off descriptors before calling UpdateSet() again. o Mention when we detect a PPP packet when we see one before the link is up (then start LCP as before). Revision Changes Path 1.7 +103 -13 src/usr.sbin/ppp/bundle.c 1.5 +8 -4 src/usr.sbin/ppp/datalink.c 1.125 +8 -8 src/usr.sbin/ppp/main.c 1.84 +6 -2 src/usr.sbin/ppp/modem.c 1.6 +3 -5 src/usr.sbin/ppp/mp.c From owner-cvs-usrsbin Sun May 24 22:27:22 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20702 for cvs-usrsbin-outgoing; Sun, 24 May 1998 22:27:22 -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.8/8.8.8) with ESMTP id WAA20564; Sun, 24 May 1998 22:26:42 -0700 (PDT) (envelope-from steve@FreeBSD.org) From: Steve Price Received: (from steve@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA29194; Sun, 24 May 1998 22:21:31 -0700 (PDT) Date: Sun, 24 May 1998 22:21:31 -0700 (PDT) Message-Id: <199805250521.WAA29194@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ac ac.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk steve 1998/05/24 22:21:30 PDT Modified files: usr.sbin/ac ac.c Log: Give correct times with old wtmp files. PR: 4732 Submitted by: Andrew Timonin Revision Changes Path 1.9 +3 -2 src/usr.sbin/ac/ac.c From owner-cvs-usrsbin Mon May 25 03:42:51 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA20976 for cvs-usrsbin-outgoing; Mon, 25 May 1998 03:42:51 -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.8/8.8.8) with ESMTP id DAA20867; Mon, 25 May 1998 03:42:18 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA04623; Mon, 25 May 1998 03:37:05 -0700 (PDT) Date: Mon, 25 May 1998 03:37:05 -0700 (PDT) Message-Id: <199805251037.DAA04623@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c modem.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/25 03:37:05 PDT Modified files: usr.sbin/ppp bundle.c modem.c Log: o Only do the /bin/cat bit when we're transferring our ctty. Revision Changes Path 1.8 +3 -3 src/usr.sbin/ppp/bundle.c 1.85 +2 -2 src/usr.sbin/ppp/modem.c From owner-cvs-usrsbin Tue May 26 13:19:04 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12282 for cvs-usrsbin-outgoing; Tue, 26 May 1998 13:19:04 -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.8/8.8.8) with ESMTP id NAA12079; Tue, 26 May 1998 13:18:22 -0700 (PDT) (envelope-from sos@FreeBSD.org) From: Søren Schmidt Received: (from sos@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA12155; Tue, 26 May 1998 13:12:58 -0700 (PDT) Date: Tue, 26 May 1998 13:12:58 -0700 (PDT) Message-Id: <199805262012.NAA12155@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-user@FreeBSD.ORG, cvs-etc@FreeBSD.ORG, cvs-gnu@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, cvs-lkm@FreeBSD.ORG, cvs-share@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src Makefile src/etc rc src/etc/mtree BSD.usr.dist src/gnu/usr.bin/ld shlib.c src/gnu/usr.bin/ld/ldconfig ldconfig.c src/gnu/usr.bin/ld/rtld rtld.c src/lib/csu/i386 Makefile src/lkm Makefile.inc src/share/mk bsd.libnames.mk bsd.own.mk ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 1998/05/26 13:12:57 PDT Modified files: . Makefile etc rc etc/mtree BSD.usr.dist gnu/usr.bin/ld shlib.c gnu/usr.bin/ld/ldconfig ldconfig.c gnu/usr.bin/ld/rtld rtld.c lib/csu/i386 Makefile lkm Makefile.inc share/mk bsd.libnames.mk bsd.own.mk usr.bin/doscmd Makefile usr.bin/objformat Makefile usr.sbin/pcvt Makefile.inc Log: ELF preparation step 2: Move a.out libraries to /usr/lib/aout to make space for ELF libs. Make rtld usr /usr/lib/aout as default library path. Make ldconfig reject /usr/lib as an a.out library path. Fix various Makefiles for LIBDIR!=/usr/lib breakage. This will after a make world & reboot give a system that no longer uses /usr/lib/*, infact one could remove all the old libraries there, they are not used anymore. We are getting close to an ELF make world, but I'll let this all settle for a week or two... Revision Changes Path 1.181 +3 -2 src/Makefile 1.144 +2 -2 src/etc/rc 1.113 +3 -1 src/etc/mtree/BSD.usr.dist 1.19 +2 -2 src/gnu/usr.bin/ld/shlib.c 1.21 +7 -2 src/gnu/usr.bin/ld/ldconfig/ldconfig.c 1.53 +2 -2 src/gnu/usr.bin/ld/rtld/rtld.c 1.37 +2 -2 src/lib/csu/i386/Makefile 1.5 +4 -1 src/lkm/Makefile.inc 1.13 +54 -54 src/share/mk/bsd.libnames.mk 1.14 +5 -1 src/share/mk/bsd.own.mk 1.11 +3 -3 src/usr.bin/doscmd/Makefile 1.6 +9 -9 src/usr.bin/objformat/Makefile 1.3 +1 -2 src/usr.sbin/pcvt/Makefile.inc From owner-cvs-usrsbin Wed May 27 07:10:43 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07374 for cvs-usrsbin-outgoing; Wed, 27 May 1998 07:10: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.8/8.8.8) with ESMTP id HAA07288; Wed, 27 May 1998 07:10:11 -0700 (PDT) (envelope-from des@FreeBSD.org) From: "Dag-Erling C. Sm\xf8rgrav" Received: (from des@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA16351; Wed, 27 May 1998 07:04:39 -0700 (PDT) Date: Wed, 27 May 1998 07:04:39 -0700 (PDT) Message-Id: <199805271404.HAA16351@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/chkgrp chkgrp.8 chkgrp.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk des 1998/05/27 07:04:39 PDT Modified files: usr.sbin/chkgrp chkgrp.8 chkgrp.c Log: Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage(). Submitted by: Philippe Charnier Revision Changes Path 1.2 +6 -7 src/usr.sbin/chkgrp/chkgrp.8 1.2 +6 -8 src/usr.sbin/chkgrp/chkgrp.c From owner-cvs-usrsbin Wed May 27 15:52:37 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA25058 for cvs-usrsbin-outgoing; Wed, 27 May 1998 15:52:37 -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.8/8.8.8) with ESMTP id PAA24153; Wed, 27 May 1998 15:49:20 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA18562; Wed, 27 May 1998 15:43:40 -0700 (PDT) Date: Wed, 27 May 1998 15:43:40 -0700 (PDT) Message-Id: <199805272243.PAA18562@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp main.c prompt.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/27 15:43:39 PDT Modified files: usr.sbin/ppp main.c prompt.c Log: Don't assume stdout is a tty in interactive mode Analyzed by: dmaddox@scsn.net (Donald J. Maddox) Revision Changes Path 1.126 +4 -4 src/usr.sbin/ppp/main.c 1.4 +21 -13 src/usr.sbin/ppp/prompt.c From owner-cvs-usrsbin Thu May 28 00:37:23 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA20327 for cvs-usrsbin-outgoing; Thu, 28 May 1998 00:37:23 -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.8/8.8.8) with ESMTP id AAA20272; Thu, 28 May 1998 00:37:08 -0700 (PDT) (envelope-from julian@FreeBSD.org) From: Julian Elischer Received: (from julian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA20631; Thu, 28 May 1998 00:31:31 -0700 (PDT) Date: Thu, 28 May 1998 00:31:31 -0700 (PDT) Message-Id: <199805280731.AAA20631@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/mtest mtest.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk julian 1998/05/28 00:31:31 PDT Modified files: usr.sbin/mtest mtest.c Log: Use AF_LINK rather than AF_UNSPEC to set an ethernet multicast address. This is obviously not a terribly used function as it's apparently been broken forever. It IS possible that this fix is wrong and that the KERNEL is wrong (in which case you should fix if_ethersubr.c) either way it certainly has more hope of working now than before. I'd take it to 2.2 except that obviously no-one cares :-) Revision Changes Path 1.4 +33 -14 src/usr.sbin/mtest/mtest.c From owner-cvs-usrsbin Thu May 28 01:40:08 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01414 for cvs-usrsbin-outgoing; Thu, 28 May 1998 01:40:08 -0700 (PDT) (envelope-from owner-cvs-usrsbin) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA01293; Thu, 28 May 1998 01:39:50 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id BAA06505; Thu, 28 May 1998 01:36:00 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd006369; Thu May 28 08:34:51 1998 Date: Thu, 28 May 1998 01:31:50 -0700 (PDT) From: Julian Elischer To: Julian Elischer cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/mtest mtest.c In-Reply-To: <199805280731.AAA20631@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 Thu, 28 May 1998, Julian Elischer wrote: > julian 1998/05/28 00:31:31 PDT > > Modified files: > usr.sbin/mtest mtest.c > Log: > Use AF_LINK rather than AF_UNSPEC to set an ethernet multicast address. > This is obviously not a terribly used function as it's apparently been > broken forever. > It IS possible that this fix is wrong and that the KERNEL is wrong > (in which case you should fix if_ethersubr.c) either way it certainly has more hope of > working now than before. I'd take it to 2.2 except that obviously no-one cares :-) I just looked.. AF_UNSPEC was correct for 2.2 Obviously this got left behind when someone changed the way that multicast works. > > Revision Changes Path > 1.4 +33 -14 src/usr.sbin/mtest/mtest.c > From owner-cvs-usrsbin Thu May 28 16:21:40 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21841 for cvs-usrsbin-outgoing; Thu, 28 May 1998 16:21:40 -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.8/8.8.8) with ESMTP id QAA21764; Thu, 28 May 1998 16:21:25 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA19968; Thu, 28 May 1998 16:15:43 -0700 (PDT) Date: Thu, 28 May 1998 16:15:43 -0700 (PDT) Message-Id: <199805282315.QAA19968@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c datalink.c datalink.h id.c id.h modem.c modem.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/28 16:15:43 PDT Modified files: usr.sbin/ppp bundle.c datalink.c datalink.h id.c id.h modem.c modem.h Log: o Don't forget to close our transfer socket if we cannot generate the data to transfer. o Transfer uucp lock ownership for the transferred device. o Don't assume we know the correct values of dev_is_modem and mbits after the transfer. Revision Changes Path 1.9 +10 -4 src/usr.sbin/ppp/bundle.c 1.6 +4 -3 src/usr.sbin/ppp/datalink.c 1.3 +2 -2 src/usr.sbin/ppp/datalink.h 1.9 +14 -1 src/usr.sbin/ppp/id.c 1.6 +2 -1 src/usr.sbin/ppp/id.h 1.86 +15 -6 src/usr.sbin/ppp/modem.c 1.18 +3 -2 src/usr.sbin/ppp/modem.h From owner-cvs-usrsbin Thu May 28 16:23:52 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22326 for cvs-usrsbin-outgoing; Thu, 28 May 1998 16:23:52 -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.8/8.8.8) with ESMTP id QAA22236; Thu, 28 May 1998 16:23:35 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA20077; Thu, 28 May 1998 16:17:53 -0700 (PDT) Date: Thu, 28 May 1998 16:17:53 -0700 (PDT) Message-Id: <199805282317.QAA20077@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c bundle.h chat.c defs.h log.c main.c modem.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/28 16:17:53 PDT Modified files: usr.sbin/ppp bundle.c bundle.h chat.c defs.h log.c main.c modem.c Log: o #define the name "tun" in defs.h against the future possibility of supporting architectures with different device names. o Close /dev/tunX when destroying the bundle. o Don't forget to close the parent end of the pipe in the child process when exec'ing a program from a chat script. o If we close our controlling terminal, ditch the current session with it, allowing getty(8) (or whatever) to regain control. o After transferring our controlling terminal descriptor to another ppp instance, we now fork a new ppp to continue where we left off, transferring ownership of all uucp locks and the /var/run/tunX.pid file. Meanwhile the parent closes all file descriptors, defaults all signals and does a pause() to wait for a HUP after the transferred descriptor is finally closed. We don't run /bin/cat any more (again!). Suggested by: bde TODO: It seems clocal devices need their pause()d session leader to be given a manual HUP, as closing the last open descriptor doesn't do the job. Revision Changes Path 1.10 +149 -86 src/usr.sbin/ppp/bundle.c 1.4 +2 -1 src/usr.sbin/ppp/bundle.h 1.47 +2 -2 src/usr.sbin/ppp/chat.c 1.31 +3 -3 src/usr.sbin/ppp/defs.h 1.29 +4 -3 src/usr.sbin/ppp/log.c 1.127 +2 -19 src/usr.sbin/ppp/main.c 1.87 +8 -3 src/usr.sbin/ppp/modem.c From owner-cvs-usrsbin Thu May 28 17:10:19 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA00278 for cvs-usrsbin-outgoing; Thu, 28 May 1998 17:10: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.8/8.8.8) with ESMTP id RAA29776; Thu, 28 May 1998 17:08:44 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA22008; Thu, 28 May 1998 17:03:01 -0700 (PDT) Date: Thu, 28 May 1998 17:03:01 -0700 (PDT) Message-Id: <199805290003.RAA22008@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp defs.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/28 17:03:01 PDT Modified files: usr.sbin/ppp defs.c Log: srandomdev() isn't available in all 2.* versions. Only use it for version 3 (-current) & up. Revision Changes Path 1.14 +2 -2 src/usr.sbin/ppp/defs.c From owner-cvs-usrsbin Fri May 29 11:33:11 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04242 for cvs-usrsbin-outgoing; Fri, 29 May 1998 11:33: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.8/8.8.8) with ESMTP id LAA04038; Fri, 29 May 1998 11:32:16 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA02448; Fri, 29 May 1998 11:32:13 -0700 (PDT) Date: Fri, 29 May 1998 11:32:13 -0700 (PDT) Message-Id: <199805291832.LAA02448@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c command.c datalink.c defs.c defs.h ipcp.c main.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/29 11:32:13 PDT Modified files: usr.sbin/ppp bundle.c command.c datalink.c defs.c defs.h ipcp.c main.c Log: o Make modes consistent throughout ppp. The same strings are used in `set mode', `allow modes', on the command line and when outputting mode names. The strings are matched so that only enough characters to uniquely identify the string are required, so you can now ppp -a mylabel (for auto mode) ppp -b mylabel (for background mode) ppp -dd mylabel (for direct dial mode) etc. o Make -ddial dial when specified on the command line (oops). Pointed out by: Alex Revision Changes Path 1.11 +18 -18 src/usr.sbin/ppp/bundle.c 1.136 +6 -5 src/usr.sbin/ppp/command.c 1.7 +12 -11 src/usr.sbin/ppp/datalink.c 1.15 +5 -5 src/usr.sbin/ppp/defs.c 1.32 +9 -9 src/usr.sbin/ppp/defs.h 1.53 +4 -4 src/usr.sbin/ppp/ipcp.c 1.128 +36 -46 src/usr.sbin/ppp/main.c From owner-cvs-usrsbin Fri May 29 11:33:28 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04335 for cvs-usrsbin-outgoing; Fri, 29 May 1998 11:33:28 -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.8/8.8.8) with ESMTP id LAA04143; Fri, 29 May 1998 11:32:46 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA02483; Fri, 29 May 1998 11:32:43 -0700 (PDT) Date: Fri, 29 May 1998 11:32:43 -0700 (PDT) Message-Id: <199805291832.LAA02483@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp README.alias README.changes README.devel lcp.c ppp.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/29 11:32:42 PDT Modified files: usr.sbin/ppp README.alias README.changes README.devel lcp.c ppp.8 Log: Some documentation corrections & typo fixes.... Revision Changes Path 1.3 +23 -23 src/usr.sbin/ppp/README.alias 1.2 +4 -2 src/usr.sbin/ppp/README.changes 1.2 +9 -6 src/usr.sbin/ppp/README.devel 1.58 +2 -2 src/usr.sbin/ppp/lcp.c 1.102 +78 -62 src/usr.sbin/ppp/ppp.8 From owner-cvs-usrsbin Fri May 29 11:34:01 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04487 for cvs-usrsbin-outgoing; Fri, 29 May 1998 11:34: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.8/8.8.8) with ESMTP id LAA04275; Fri, 29 May 1998 11:33:16 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA02524; Fri, 29 May 1998 11:33:12 -0700 (PDT) Date: Fri, 29 May 1998 11:33:12 -0700 (PDT) Message-Id: <199805291833.LAA02524@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp bundle.c bundle.h id.c id.h main.c modem.c physical.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1998/05/29 11:33:12 PDT Modified files: usr.sbin/ppp bundle.c bundle.h id.c id.h main.c modem.c physical.h Log: o If there's a session leader left running for a descriptor that we're now closing, manually HUP that session leader so that the tty is fully released. o Always restart our carrier detect timer in the receiving process if it was running in the sending process (as we now *always* pass the descriptor). o Tweak argv when we go into pause() mode to keep our session so that ps can see what's going on (without checking for a `pause' state in `ps -l'). Revision Changes Path 1.12 +6 -2 src/usr.sbin/ppp/bundle.c 1.5 +3 -2 src/usr.sbin/ppp/bundle.h 1.10 +14 -1 src/usr.sbin/ppp/id.c 1.7 +2 -1 src/usr.sbin/ppp/id.h 1.129 +3 -5 src/usr.sbin/ppp/main.c 1.88 +13 -4 src/usr.sbin/ppp/modem.c 1.3 +2 -1 src/usr.sbin/ppp/physical.h