From owner-cvs-usrsbin Sun Dec 7 00:14:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA26477 for cvs-usrsbin-outgoing; Sun, 7 Dec 1997 00:14:36 -0800 (PST) (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 AAA26386; Sun, 7 Dec 1997 00:12:42 -0800 (PST) (envelope-from yokota@FreeBSD.org) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA01258; Sun, 7 Dec 1997 00:11:19 -0800 (PST) Date: Sun, 7 Dec 1997 00:11:19 -0800 (PST) Message-Id: <199712070811.AAA01258@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/moused moused.8 moused.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/12/07 00:11:18 PST Modified files: usr.sbin/moused moused.8 moused.c Log: The `moused' daemon is made to support various serial mouse protocols to recognized extra buttons and wheel/roller. It now has PnP COM device support code, thus, some recent mouse products are automatically detected and an appropriate protocol is selected. The `-i' option will print the result of auto-detection. - Added support for the following SERIAL mice: ALPS GlidePoint, MS IntelliMouse, Kensington Thinking Mouse (Genius NetMouse, NetMouse Pro, ASCII MieMouse, Logitech MouseMan+, FirstMouse+ are compatible with MS IntelliMouse, when connected to a serial port, thus requires no explicit support) - Added PnP serial mouse identification capability as defined by Microsoft and Hayes in "Plug and Play External COM Device Specification, rev 1.00". This support will enable us to identify the correct protocol to use, or choose a compatible protocol for the given mouse. - Utilize new ioctls defined in `mouse.h' to get hardware and protocol information on PS/2 and bus mouse devices. Try to guess the correct protocol and port combination based on the obtained info. - Use MOUSE_SETLEVEL ioctl. - Use constants defined in `mouse.h' rather than using own definitions. - A New command line option. The -i option prints the information collected though the PnP code and psm/mse ioctls mentioned above, and just quits. This is to test `moused's ability, or inability, to detect the correct protocol for the given mouse automatically. - A new command line option. The -m option maps a physical button to a logical button. - A new command line option. The -z option maps the Z axis movement to another axis or a pair of buttons. - Add other options: -3, -C -F -P. - Added a handler for SIGHUP. This has been suggested by somebody in the past (I don't remember who). He wanted this because he wants to attach or detach a mouse while his laptop is suspended. Now `moused' will reopens and reinitialize the specified port whenever a SIGHUP is received. I don't know how useful this can be... Revision Changes Path 1.7 +425 -41 src/usr.sbin/moused/moused.8 1.11 +1647 -279 src/usr.sbin/moused/moused.c From owner-cvs-usrsbin Sun Dec 7 09:02:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA08413 for cvs-usrsbin-outgoing; Sun, 7 Dec 1997 09:02:48 -0800 (PST) (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 JAA08317; Sun, 7 Dec 1997 09:00:55 -0800 (PST) (envelope-from jmb@FreeBSD.org) From: "Jonathan M. Bresler" Received: (from jmb@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA20261; Sun, 7 Dec 1997 08:59:30 -0800 (PST) Date: Sun, 7 Dec 1997 08:59:30 -0800 (PST) Message-Id: <199712071659.IAA20261@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/sendmail/cf/cf hub.mc Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jmb 1997/12/07 08:59:29 PST Modified files: usr.sbin/sendmail/cf/cf hub.mc Log: update hub.mc with the latest set of anti-spam rules Submitted by: jmb Revision Changes Path 1.6 +10 -16 src/usr.sbin/sendmail/cf/cf/hub.mc From owner-cvs-usrsbin Sun Dec 7 15:58:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA05072 for cvs-usrsbin-outgoing; Sun, 7 Dec 1997 15:58:02 -0800 (PST) (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 PAA05008; Sun, 7 Dec 1997 15:56:59 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA25809; Sun, 7 Dec 1997 15:55:31 -0800 (PST) Date: Sun, 7 Dec 1997 15:55:31 -0800 (PST) Message-Id: <199712072355.PAA25809@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp chap.c lcp.c phase.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/07 15:55:31 PST Modified files: usr.sbin/ppp chap.c lcp.c phase.c Log: Fix PAP, CHAP & LQR req (I broke the byte ordering when I did the deflate re-org). Make PAP & CHAP negotiation prettier in the log file. If both PAP & CHAP are `enabled' and the peer NAKs CHAP suggesting PAP, be friendly and REQ PAP the next time. This is in line with the rfc. Revision Changes Path 1.27 +2 -2 src/usr.sbin/ppp/chap.c 1.50 +51 -12 src/usr.sbin/ppp/lcp.c 1.4 +17 -2 src/usr.sbin/ppp/phase.c From owner-cvs-usrsbin Sun Dec 7 22:37:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA05072 for cvs-usrsbin-outgoing; Sun, 7 Dec 1997 22:37:25 -0800 (PST) (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 WAA05017; Sun, 7 Dec 1997 22:36:38 -0800 (PST) (envelope-from nate@FreeBSD.org) From: Nate Williams Received: (from nate@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id WAA29329; Sun, 7 Dec 1997 22:35:08 -0800 (PST) Date: Sun, 7 Dec 1997 22:35:08 -0800 (PST) Message-Id: <199712080635.WAA29329@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pccard/pccardd cardd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 1997/12/07 22:35:08 PST Modified files: usr.sbin/pccard/pccardd cardd.c Log: - Changed strcmp to strncmp for checking the CIS manufacturer strings, since we only store CIS_MAXSTR data, and the users may stick the 'entire' CIS string returned from the card in /etc/pccard.conf and cause the comparison to (bogusly) fail. Submitted by: Brad Karp Revision Changes Path 1.23 +3 -3 src/usr.sbin/pccard/pccardd/cardd.c From owner-cvs-usrsbin Sun Dec 7 23:45:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA12112 for cvs-usrsbin-outgoing; Sun, 7 Dec 1997 23:45:12 -0800 (PST) (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 XAA12057; Sun, 7 Dec 1997 23:44:44 -0800 (PST) (envelope-from charnier@FreeBSD.org) From: Philippe Charnier Received: (from charnier@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA29885; Sun, 7 Dec 1997 23:43:14 -0800 (PST) Date: Sun, 7 Dec 1997 23:43:14 -0800 (PST) Message-Id: <199712080743.XAA29885@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/cdcontrol cdcontrol.1 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk charnier 1997/12/07 23:43:13 PST Modified files: usr.sbin/cdcontrol cdcontrol.1 Log: Use Pa for files and Ar for arguments. Revision Changes Path 1.13 +32 -24 src/usr.sbin/cdcontrol/cdcontrol.1 From owner-cvs-usrsbin Mon Dec 8 03:56:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA00782 for cvs-usrsbin-outgoing; Mon, 8 Dec 1997 03:56:51 -0800 (PST) (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 DAA00745; Mon, 8 Dec 1997 03:56:17 -0800 (PST) (envelope-from yokota@FreeBSD.org) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA01517; Mon, 8 Dec 1997 03:54:45 -0800 (PST) Date: Mon, 8 Dec 1997 03:54:45 -0800 (PST) Message-Id: <199712081154.DAA01517@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/moused moused.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1997/12/08 03:54:45 PST Modified files: usr.sbin/moused moused.8 Log: Explicitly state that the -t option is required only when the moused command is not able to detect the appropriate protocol for the give mouse automatically. Suggested by: sos Revision Changes Path 1.8 +10 -3 src/usr.sbin/moused/moused.8 From owner-cvs-usrsbin Mon Dec 8 12:11:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA06055 for cvs-usrsbin-outgoing; Mon, 8 Dec 1997 12:11:27 -0800 (PST) (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 MAA06002; Mon, 8 Dec 1997 12:10:46 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA20607; Mon, 8 Dec 1997 12:09:11 -0800 (PST) Date: Mon, 8 Dec 1997 12:09:11 -0800 (PST) Message-Id: <199712082009.MAA20607@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp command.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/08 12:09:11 PST Modified files: usr.sbin/ppp command.c Log: Correct usage of `add' and `delete'. Revision Changes Path 1.108 +2 -2 src/usr.sbin/ppp/command.c From owner-cvs-usrsbin Mon Dec 8 12:24:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA06944 for cvs-usrsbin-outgoing; Mon, 8 Dec 1997 12:24:28 -0800 (PST) (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 MAA06820; Mon, 8 Dec 1997 12:23:48 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA20668; Mon, 8 Dec 1997 12:22:14 -0800 (PST) Date: Mon, 8 Dec 1997 12:22:14 -0800 (PST) Message-Id: <199712082022.MAA20668@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp deflate.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/08 12:22:13 PST Modified files: usr.sbin/ppp deflate.c Log: Deal with inflate() returning avail_in == avail_out == 0 We must call inflate again in case there's any pending output despite our input buffer being empty. If the output buffer is in fact already flushed, inflate() returns Z_BUF_ERROR. There isn't really an error ! Revision Changes Path 1.3 +18 -2 src/usr.sbin/ppp/deflate.c From owner-cvs-usrsbin Tue Dec 9 18:17:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA01991 for cvs-usrsbin-outgoing; Tue, 9 Dec 1997 18:17:16 -0800 (PST) (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 SAA01945; Tue, 9 Dec 1997 18:16:44 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA20552; Tue, 9 Dec 1997 18:14:59 -0800 (PST) Date: Tue, 9 Dec 1997 18:14:59 -0800 (PST) Message-Id: <199712100214.SAA20552@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/natd HISTORY natd.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/09 18:14:59 PST Modified files: usr.sbin/natd HISTORY natd.c Log: natd 1_10 => 1_11 Cosmetic style changes Use u_short for port values. Submitted by: Ari Suutari Revision Changes Path 1.3 +5 -0 src/usr.sbin/natd/HISTORY 1.7 +65 -61 src/usr.sbin/natd/natd.c From owner-cvs-usrsbin Wed Dec 10 23:14:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA11634 for cvs-usrsbin-outgoing; Wed, 10 Dec 1997 23:14:27 -0800 (PST) (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 XAA11607; Wed, 10 Dec 1997 23:14:05 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA14497; Wed, 10 Dec 1997 23:12:11 -0800 (PST) Date: Wed, 10 Dec 1997 23:12:11 -0800 (PST) Message-Id: <199712110712.XAA14497@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/10 23:12:10 PST Modified files: usr.sbin/bad144 bad144.c Log: Merged from Lite2 (fix misformattings in copyright). Revision Changes Path 1.14 +4 -4 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Wed Dec 10 23:29:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA12692 for cvs-usrsbin-outgoing; Wed, 10 Dec 1997 23:29:38 -0800 (PST) (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 XAA12637; Wed, 10 Dec 1997 23:29:01 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA14576; Wed, 10 Dec 1997 23:27:06 -0800 (PST) Date: Wed, 10 Dec 1997 23:27:06 -0800 (PST) Message-Id: <199712110727.XAA14576@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/10 23:27:06 PST Modified files: usr.sbin/bad144 bad144.c Log: Fixed the usual multiplication overflow bug in an lseek() offset calculation. The scan for bad sectors was broken for offsets >= 4G on 32-bit systems. Revision Changes Path 1.15 +3 -2 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Wed Dec 10 23:34:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA13116 for cvs-usrsbin-outgoing; Wed, 10 Dec 1997 23:34:54 -0800 (PST) (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 XAA13029; Wed, 10 Dec 1997 23:34:21 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA14617; Wed, 10 Dec 1997 23:32:26 -0800 (PST) Date: Wed, 10 Dec 1997 23:32:26 -0800 (PST) Message-Id: <199712110732.XAA14617@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/10 23:32:26 PST Modified files: (Branch: RELENG_2_2) usr.sbin/bad144 bad144.c Log: YAMFC (fixed large offsets in the scan for bad sectors). Revision Changes Path 1.12.2.2 +3 -2 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Thu Dec 11 01:20:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA22917 for cvs-usrsbin-outgoing; Thu, 11 Dec 1997 01:20:19 -0800 (PST) (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 BAA22739; Thu, 11 Dec 1997 01:19:18 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA14827; Thu, 11 Dec 1997 01:17:22 -0800 (PST) Date: Thu, 11 Dec 1997 01:17:22 -0800 (PST) Message-Id: <199712110917.BAA14827@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/11 01:17:22 PST Modified files: (Branch: RELENG_2_2) usr.sbin/bad144 bad144.c Log: Changed lots of %ld's in format strings back to %d. %ld was right when daddr_t was long, but Lite2 changed daddr_t to int32_t which is implemented as `int' on i386's. Revision Changes Path 1.12.2.3 +23 -23 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Thu Dec 11 01:40:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA24302 for cvs-usrsbin-outgoing; Thu, 11 Dec 1997 01:36:42 -0800 (PST) (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 BAA24044; Thu, 11 Dec 1997 01:34:32 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id BAA14874; Thu, 11 Dec 1997 01:32:36 -0800 (PST) Date: Thu, 11 Dec 1997 01:32:36 -0800 (PST) Message-Id: <199712110932.BAA14874@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/11 01:32:36 PST Modified files: (Branch: RELENG_2_2) usr.sbin/bad144 bad144.c Log: Fixed printing of and comparison with d_typename[]. It is not always null terminated. Revision Changes Path 1.12.2.4 +8 -5 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Fri Dec 12 10:03:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA09527 for cvs-usrsbin-outgoing; Fri, 12 Dec 1997 10:03:26 -0800 (PST) (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 KAA09306; Fri, 12 Dec 1997 10:00:38 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA26154; Fri, 12 Dec 1997 09:58:31 -0800 (PST) Date: Fri, 12 Dec 1997 09:58:31 -0800 (PST) Message-Id: <199712121758.JAA26154@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/12 09:58:31 PST Modified files: usr.sbin/bad144 bad144.c Log: MF22 (oops, I committed it to the wrong tree yesterday). Changed lots of %ld's in format strings back to %d. %ld was right when daddr_t was long, but Lite2 changed daddr_t to int32_t which is implemented as `int' on i386's. Revision Changes Path 1.16 +23 -23 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Fri Dec 12 10:05:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA09717 for cvs-usrsbin-outgoing; Fri, 12 Dec 1997 10:05:55 -0800 (PST) (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 KAA09573; Fri, 12 Dec 1997 10:04:04 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id KAA26222; Fri, 12 Dec 1997 10:01:58 -0800 (PST) Date: Fri, 12 Dec 1997 10:01:58 -0800 (PST) Message-Id: <199712121801.KAA26222@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/bad144 bad144.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/12/12 10:01:57 PST Modified files: usr.sbin/bad144 bad144.c Log: Fixed printing of and comparison with d_typename[]. It is not always null terminated. Revision Changes Path 1.17 +8 -5 src/usr.sbin/bad144/bad144.c From owner-cvs-usrsbin Fri Dec 12 18:41:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA17484 for cvs-usrsbin-outgoing; Fri, 12 Dec 1997 18:41:24 -0800 (PST) (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 SAA17369; Fri, 12 Dec 1997 18:39:45 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA28510; Fri, 12 Dec 1997 18:37:36 -0800 (PST) Date: Fri, 12 Dec 1997 18:37:36 -0800 (PST) Message-Id: <199712130237.SAA28510@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp iplist.c iplist.h Makefile ccp.c command.c filter.c fsm.c ipcp.c ipcp.h main.c os.c os.h phase.c ppp.8 route.c route.h vars.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/12 18:37:35 PST Modified files: usr.sbin/ppp Makefile ccp.c command.c filter.c fsm.c ipcp.c ipcp.h main.c os.c os.h phase.c ppp.8 route.c route.h vars.c Added files: usr.sbin/ppp iplist.c iplist.h Log: Allow random IP number allocation to peer. Validate the peers suggested IP by attempting to make a routing table entry. Give up IPCP negotiation if the peer NAKs us with an unusable IP. Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device. Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't want)!!! Allow up to 200 interface names (was 50) (now that ppp can play server properly). Up the version number (1.5 -> 1.6). Cosmetic: Log unexpected CCP packets in the CCP log rather than the ERROR log. Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather than the ERROR log. Log failed route additions and deletions with WARN, not TCPIP. Log the option id and length for unrecognised IPCP options. Change some .Sq to .Ar in the man page. Revision Changes Path 1.34 +2 -2 src/usr.sbin/ppp/Makefile 1.24 +2 -2 src/usr.sbin/ppp/ccp.c 1.109 +25 -13 src/usr.sbin/ppp/command.c 1.20 +10 -5 src/usr.sbin/ppp/filter.c 1.24 +3 -2 src/usr.sbin/ppp/fsm.c 1.42 +30 -9 src/usr.sbin/ppp/ipcp.c 1.15 +2 -1 src/usr.sbin/ppp/ipcp.h 1.107 +2 -2 src/usr.sbin/ppp/main.c 1.37 +34 -45 src/usr.sbin/ppp/os.c 1.13 +3 -2 src/usr.sbin/ppp/os.h 1.5 +2 -2 src/usr.sbin/ppp/phase.c 1.84 +63 -25 src/usr.sbin/ppp/ppp.8 1.31 +36 -6 src/usr.sbin/ppp/route.c 1.8 +2 -1 src/usr.sbin/ppp/route.h 1.40 +3 -3 src/usr.sbin/ppp/vars.c From owner-cvs-usrsbin Fri Dec 12 19:18:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA19402 for cvs-usrsbin-outgoing; Fri, 12 Dec 1997 19:18:37 -0800 (PST) (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 TAA19155; Fri, 12 Dec 1997 19:15:59 -0800 (PST) (envelope-from sef@FreeBSD.org) From: Sean Eric Fagan Received: (from sef@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id TAA00183; Fri, 12 Dec 1997 19:13:50 -0800 (PST) Date: Fri, 12 Dec 1997 19:13:50 -0800 (PST) Message-Id: <199712130313.TAA00183@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/sys/sys pioctl.h src/sys/miscfs/procfs procfs_vnops.c src/usr.bin/truss main.c setup.c src/usr.sbin/procctl procctl.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sef 1997/12/12 19:13:49 PST Modified files: sys/sys pioctl.h sys/miscfs/procfs procfs_vnops.c usr.bin/truss main.c setup.c usr.sbin/procctl procctl.c Log: Change the ioctls for procfs around a bit; in particular, whever possible, change from ioctl(fd, PIOC, &i); to ioctl(fd, PIOC, i); This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and truss must be in synch for it all to work (not doing so will get errors about inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :). Revision Changes Path 1.4 +7 -6 src/sys/sys/pioctl.h 1.48 +4 -3 src/sys/miscfs/procfs/procfs_vnops.c 1.5 +2 -2 src/usr.bin/truss/main.c 1.5 +9 -13 src/usr.bin/truss/setup.c 1.2 +3 -5 src/usr.sbin/procctl/procctl.c From owner-cvs-usrsbin Fri Dec 12 21:31:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA25549 for cvs-usrsbin-outgoing; Fri, 12 Dec 1997 21:31:49 -0800 (PST) (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 VAA25413; Fri, 12 Dec 1997 21:29:42 -0800 (PST) (envelope-from jdp@FreeBSD.org) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA00400; Fri, 12 Dec 1997 21:27:31 -0800 (PST) Date: Fri, 12 Dec 1997 21:27:31 -0800 (PST) Message-Id: <199712130527.VAA00400@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pppd auth.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1997/12/12 21:27:31 PST Modified files: usr.sbin/pppd auth.c Log: Fix a segmentation violation that happened if "auth" was in the options file but there was no suitable secret in the secrets file. Revision Changes Path 1.21 +3 -2 src/usr.sbin/pppd/auth.c From owner-cvs-usrsbin Sat Dec 13 02:31:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA11830 for cvs-usrsbin-outgoing; Sat, 13 Dec 1997 02:31:28 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA11806; Sat, 13 Dec 1997 02:31:20 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id VAA30123; Sat, 13 Dec 1997 21:27:44 +1100 Date: Sat, 13 Dec 1997 21:27:44 +1100 From: Bruce Evans Message-Id: <199712131027.VAA30123@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, sef@FreeBSD.ORG Subject: Re: cvs commit: src/sys/sys pioctl.h src/sys/miscfs/procfs procfs_vnops.c src/usr.bin/truss main.c setup.c src/usr.sbin/procctl procctl.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Modified files: > sys/sys pioctl.h > sys/miscfs/procfs procfs_vnops.c > usr.bin/truss main.c setup.c > usr.sbin/procctl procctl.c > Log: > Change the ioctls for procfs around a bit; in particular, whever possible, > change from > > ioctl(fd, PIOC, &i); > > to > > ioctl(fd, PIOC, i); > > This is going from the _IOW to _IO ioctl macro. The kernel, procctl, and > truss must be in synch for it all to work (not doing so will get errors about > inappropriate ioctl's, fortunately). Hopefully I didn't forget anything :). This is a regression. _IO is for ioctls that don't take any args after the request number. From : #define IOC_VOID 0x20000000 /* no parameters */ ... #define _IOC(inout,group,num,len) \ (inout | ((len & IOCPARM_MASK) << 16) | ((group) << 8) | (num)) #define _IO(g,n) _IOC(IOC_VOID, (g), (n), 0) There is compatibility cruft in in sys_generic.c that results in one bogus varadic arg of type caddr_t being supported, provided certain undefined and implementation-defined behaviour is benign. A bogus varadic arg of type int can work too. Even correct application code that doesn't pass an extra arg can work :-). Don't depend on this in new interfaces. Bruce