From owner-cvs-usrsbin Sun Dec 22 02:48:51 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA27631 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 02:48:51 -0800 (PST) Received: (from davidn@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA27624; Sun, 22 Dec 1996 02:48:49 -0800 (PST) Date: Sun, 22 Dec 1996 02:48:49 -0800 (PST) From: David Nugent Message-Id: <199612221048.CAA27624@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pw pw_user.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 96/12/22 02:48:49 Branch: usr.sbin/pw RELENG_2_2 Modified: usr.sbin/pw pw_user.c Log: Fix for -d home directory in usermod. Approved by: joerg Revision Changes Path 1.1.1.1.2.4 +9 -1 src/usr.sbin/pw/pw_user.c From owner-cvs-usrsbin Sun Dec 22 07:10:31 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA06388 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 07:10:31 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA06381; Sun, 22 Dec 1996 07:10:29 -0800 (PST) Date: Sun, 22 Dec 1996 07:10:29 -0800 (PST) From: Joerg Wunsch Message-Id: <199612221510.HAA06381@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/xntpd/util tickadj.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/22 07:10:28 Branch: usr.sbin/xntpd/util RELENG_2_2 Modified: usr.sbin/xntpd/util tickadj.c Log: YAMFC: rev 1.14. Revision Changes Path 1.13.2.1 +2 -1 src/usr.sbin/xntpd/util/tickadj.c From owner-cvs-usrsbin Sun Dec 22 07:28:07 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA07000 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 07:28:07 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA06993; Sun, 22 Dec 1996 07:28:06 -0800 (PST) Date: Sun, 22 Dec 1996 07:28:06 -0800 (PST) From: Joerg Wunsch Message-Id: <199612221528.HAA06993@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/cron/lib env.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/22 07:28:05 Branch: usr.sbin/cron/lib RELENG_2_2 Modified: usr.sbin/cron/lib env.c Log: YAMFC (rev 1.2, buffer overrun condition) Revision Changes Path 1.1.1.1.8.1 +2 -2 src/usr.sbin/cron/lib/env.c From owner-cvs-usrsbin Sun Dec 22 09:09:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA11671 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 09:09:24 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA11655; Sun, 22 Dec 1996 09:09:21 -0800 (PST) Date: Sun, 22 Dec 1996 09:09:21 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612221709.JAA11655@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp command.c defs.h modem.c ppp.8 vars.c vars.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/22 09:09:20 Modified: usr.sbin/ppp command.c defs.h modem.c ppp.8 vars.c vars.h Log: Make CRTSTS selection a runtime option. Closes PR#1392 Submitted by: Mike McGaughey Revision Changes Path 1.26 +20 -1 src/usr.sbin/ppp/command.c 1.7 +2 -1 src/usr.sbin/ppp/defs.h 1.25 +18 -16 src/usr.sbin/ppp/modem.c 1.22 +15 -3 src/usr.sbin/ppp/ppp.8 1.10 +3 -3 src/usr.sbin/ppp/vars.c 1.8 +3 -1 src/usr.sbin/ppp/vars.h From owner-cvs-usrsbin Sun Dec 22 09:29:38 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA12780 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 09:29:38 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA12773; Sun, 22 Dec 1996 09:29:36 -0800 (PST) Date: Sun, 22 Dec 1996 09:29:36 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612221729.JAA12773@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp command.c defs.h main.c modem.c phase.h ppp.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/22 09:29:35 Modified: usr.sbin/ppp command.c defs.h main.c modem.c phase.h ppp.8 Log: For /usr/sbin/ppp, you must choose between running ppp in the background or connecting to a host immediately in the foreground. I would like to be able to run ppp from a script so that my script can be sure that it is connected to the 'net before it continues running: # Dial up the internet. ppp -background myprovider || exit 1 do-some-net-command # Hang up the modem. kill -HUP `cat /var/run/ppp.tun0.pid` Another problem is that the current ppp calls its process id file `/var/run/PPP.server', which may conflict if you have more than one IP tunnel interface available. Closes PR#1469 Submitted by: Gord Matzigkeit Revision Changes Path 1.27 +6 -7 src/usr.sbin/ppp/command.c 1.8 +6 -1 src/usr.sbin/ppp/defs.h 1.26 +80 -32 src/usr.sbin/ppp/main.c 1.26 +13 -3 src/usr.sbin/ppp/modem.c 1.3 +3 -2 src/usr.sbin/ppp/phase.h 1.23 +63 -21 src/usr.sbin/ppp/ppp.8 From owner-cvs-usrsbin Sun Dec 22 14:31:02 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA22899 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 14:31:02 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA22891; Sun, 22 Dec 1996 14:31:01 -0800 (PST) Date: Sun, 22 Dec 1996 14:31:01 -0800 (PST) From: Bill Paul Message-Id: <199612222231.OAA22891@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv yp_svc_udp.c Makefile yp_dblookup.c yp_dnslookup.c yp_extern.h yp_main.c yp_server.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/12/22 14:31:00 Modified: usr.sbin/ypserv Makefile yp_dblookup.c yp_dnslookup.c yp_extern.h yp_main.c yp_server.c Added: usr.sbin/ypserv yp_svc_udp.c Log: Big round o changes: - yp_dblookup.c: Create non-DB specific database access functions. Using these allows access to the underlying database functions without needing explicit knowledge of Berkeley DB. (These are used only when DB_CACHE is #defined. Other programs that use the non-caching functions (yp_mkdb, ypxfr, yppush, rpc.yppasswdd) shouldn't notice the difference.) - yp_dnslookup: Implement async DNS lookups. We send our own DNS requests using UDP and put the request in a queue. When the response arrives, we use the ID in the header to find the corresponsing queue entry and then send the response to the client. We can go about our business and handle other YP requests in the meantime. This way, we can deal with time consuming DNS requests without blocking and without forking. - yp_server.c: Convert to using new non-DB-specific database access functions. This simplifies the code a bit and removes the need for this module to know anything about Berkeley DB. Also convert the ypproc_match_2_svc() function to use the async DNS lookup routines. - yp_main.c: tweak yp_svc_run() to add the resolver socket to the set of descriptors monitored in the select() loop. Also add a timeout to select(); we may get stale DNS requests stuck in the queue which we want to invalidate after a while. If the timeout hits, we decrement the ttl on all pending DNS requests and nuke those requests that aren't handled before ttl hits zero. - yp_extern.h: Add prototypes for new stuff. - yp_svc_udp.c (new file): The async resolver code needs to be able to rummage around inside the RPC UDP transport handle in order to work correcty. There's basically one transport handle, and each time a request comes in, the transaction ID in the handle is changed. This means that if we queue a DNS request, then we handle some other unrelated requests, we will be unable to send the DNS response because the transaction ID and remote address of the client that made the DNS request will have been lost. What we need to do is save the client address and transaction ID in the queue entry for the DNS request, then put the transaction ID and address back in the transport handle when we're ready to reply. (And then we have to undo the change so as not to confuse any other part of the server.) The trouble is that the transaction ID is hidden in an opaque part of the transport handle, and only the code in the svc_udp module in the RPC library knows how to handle it. This file contains a couple of functions that let us read and set the transaction ID in spite of this. This is really a dirty trick and I should be taken out and shot for even thinking about it, but there's no other way to get this stuff to work. - Makefile: add yp_svc_udp.c to SRCS. Revision Changes Path 1.9 +2 -2 src/usr.sbin/ypserv/Makefile 1.10 +99 -10 src/usr.sbin/ypserv/yp_dblookup.c 1.4 +339 -28 src/usr.sbin/ypserv/yp_dnslookup.c 1.8 +29 -3 src/usr.sbin/ypserv/yp_extern.h 1.9 +16 -4 src/usr.sbin/ypserv/yp_main.c 1.15 +50 -112 src/usr.sbin/ypserv/yp_server.c From owner-cvs-usrsbin Sun Dec 22 15:05:50 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA24671 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 15:05:50 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA24655; Sun, 22 Dec 1996 15:05:41 -0800 (PST) Date: Sun, 22 Dec 1996 15:05:41 -0800 (PST) From: Mike Pritchard Message-Id: <199612222305.PAA24655@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-share, cvs-gnu, cvs-sbin, cvs-usrsbin, cvs-libexec Subject: cvs commit: src/libexec/getty gettytab.5 src/lib/libc/sys flock.2 src/gnu/usr.bin/man/makewhatis makewhatis.1 src/libexec/rlogind rlogind.8 src/share/man/man4/man4.i386 pcvt.4 src/lib/libc/gen alarm.3 initgroups.3 src/lib/libc/net Makefile.inc src/sbin/mount_std Makefile mount_std.8 mount_devfs.8 mount_fdesc.8 mount_kernfs.8 mount_procfs.8 src/usr.sbin/moused Makefile src/share/man/man4 bpf.4 ipfirewall.4 src/share/man/man5 Makefile procfs.5 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 15:05:41 Branch: libexec/getty RELENG_2_2 lib/libc/gen RELENG_2_2 lib/libc/net RELENG_2_2 lib/libc/sys RELENG_2_2 gnu/usr.bin/man/makewhatis RELENG_2_2 sbin/mount_std RELENG_2_2 usr.sbin/moused RELENG_2_2 libexec/rlogind RELENG_2_2 share/man/man4 RELENG_2_2 share/man/man4/man4.i386 RELENG_2_2 share/man/man5 RELENG_2_2 Modified: libexec/getty gettytab.5 lib/libc/gen alarm.3 initgroups.3 lib/libc/net Makefile.inc lib/libc/sys flock.2 gnu/usr.bin/man/makewhatis makewhatis.1 sbin/mount_std Makefile mount_std.8 usr.sbin/moused Makefile libexec/rlogind rlogind.8 share/man/man4 bpf.4 ipfirewall.4 share/man/man4/man4.i386 pcvt.4 share/man/man5 Makefile procfs.5 Removed: sbin/mount_std mount_devfs.8 mount_fdesc.8 mount_kernfs.8 mount_procfs.8 Log: YAMFC: - Correct various man page xrefs - Fix some spelling errors - Add misssing documentation bits in some man pages - mount_std.8 now documents mount_{devfs,fdesc,kernfs,procfs} - New man pages for moused(8), devfs(5), fdesc(5), kernfs(5), procfs(5) were tagged onto the 2.2 branch. Revision Changes Path 1.7.2.2 +5 -5 src/libexec/getty/gettytab.5 1.4.2.1 +1 -1 src/lib/libc/gen/alarm.3 1.2.2.1 +1 -1 src/lib/libc/gen/initgroups.3 1.20.2.1 +2 -1 src/lib/libc/net/Makefile.inc 1.3.2.1 +4 -0 src/lib/libc/sys/flock.2 1.6.2.2 +3 -3 src/gnu/usr.bin/man/makewhatis/makewhatis.1 1.1.2.1 +3 -1 src/sbin/mount_std/Makefile 1.3.2.1 +41 -8 src/sbin/mount_std/mount_std.8 1.2.2.1 +1 -1 src/usr.sbin/moused/Makefile 1.4.2.1 +15 -1 src/libexec/rlogind/rlogind.8 1.5.2.1 +3 -1 src/share/man/man4/bpf.4 1.6.2.1 +1 -1 src/share/man/man4/ipfirewall.4 1.3.2.1 +4 -3 src/share/man/man4/man4.i386/pcvt.4 1.15.2.1 +3 -2 src/share/man/man5/Makefile 1.2.8.2 +166 -19 src/share/man/man5/procfs.5 From owner-cvs-usrsbin Sun Dec 22 16:10:27 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA27579 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 16:10:27 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA27572; Sun, 22 Dec 1996 16:10:25 -0800 (PST) Date: Sun, 22 Dec 1996 16:10:25 -0800 (PST) From: Mike Pritchard Message-Id: <199612230010.QAA27572@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/adduser addgroup.8 adduser.8 adduser.perl rmgroup.8 rmuser.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 16:10:24 Modified: usr.sbin/adduser addgroup.8 adduser.8 adduser.perl rmgroup.8 rmuser.8 Log: Minor style fixes. I also renamed the adduser "-quit" option to "-quiet", since it is supposed to be the same as the -s/-silent option, and -quit must have beena typo. Revision Changes Path 1.2 +12 -10 src/usr.sbin/adduser/addgroup.8 1.14 +70 -66 src/usr.sbin/adduser/adduser.8 1.23 +3 -3 src/usr.sbin/adduser/adduser.perl 1.2 +6 -4 src/usr.sbin/adduser/rmgroup.8 1.2 +3 -4 src/usr.sbin/adduser/rmuser.8 From owner-cvs-usrsbin Sun Dec 22 16:22:03 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA28237 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 16:22:03 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA28229; Sun, 22 Dec 1996 16:22:02 -0800 (PST) Date: Sun, 22 Dec 1996 16:22:02 -0800 (PST) From: Mike Pritchard Message-Id: <199612230022.QAA28229@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/bootparamd/bootparamd bootparamd.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 16:22:01 Modified: usr.sbin/bootparamd/bootparamd bootparamd.8 Log: Convert to mdoc format. Revision Changes Path 1.3 +34 -52 src/usr.sbin/bootparamd/bootparamd/bootparamd.8 From owner-cvs-usrsbin Sun Dec 22 16:57:49 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA00172 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 16:57:49 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA00165; Sun, 22 Dec 1996 16:57:47 -0800 (PST) Date: Sun, 22 Dec 1996 16:57:47 -0800 (PST) From: Mike Pritchard Message-Id: <199612230057.QAA00165@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/adduser adduser.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 16:57:47 Modified: usr.sbin/adduser adduser.8 Log: Minor internal mdoc usage changes. Revision Changes Path 1.15 +6 -4 src/usr.sbin/adduser/adduser.8 From owner-cvs-usrsbin Sun Dec 22 18:10:05 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04108 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 18:10:05 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04100; Sun, 22 Dec 1996 18:10:02 -0800 (PST) Date: Sun, 22 Dec 1996 18:10:02 -0800 (PST) From: Mike Pritchard Message-Id: <199612230210.SAA04100@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin, cvs-usrsbin Subject: cvs commit: src/sbin/ipfw ipfw.8 src/usr.sbin/newsyslog newsyslog.8 src/usr.sbin/adduser addgroup.8 adduser.8 adduser.perl rmgroup.8 rmuser.8 src/usr.sbin/bootparamd/bootparamd bootparamd.8 bootparams.5 src/sbin/i386/cxconfig cxconfig.8 src/sbin/i386/ft ft.8 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 18:10:01 Branch: usr.sbin/adduser RELENG_2_2 usr.sbin/bootparamd/bootparamd RELENG_2_2 sbin/i386/cxconfig RELENG_2_2 sbin/i386/ft RELENG_2_2 sbin/ipfw RELENG_2_2 usr.sbin/newsyslog RELENG_2_2 Modified: usr.sbin/adduser addgroup.8 adduser.8 adduser.perl rmgroup.8 rmuser.8 usr.sbin/bootparamd/bootparamd bootparamd.8 bootparams.5 sbin/i386/cxconfig cxconfig.8 sbin/i386/ft ft.8 sbin/ipfw ipfw.8 usr.sbin/newsyslog newsyslog.8 Log: YAMFC: Convert some man pages to mdoc format. Other minor mdoc/style/spelling/grammar fixes. Revision Changes Path 1.1.2.1 +12 -10 src/usr.sbin/adduser/addgroup.8 1.12.2.2 +72 -66 src/usr.sbin/adduser/adduser.8 1.19.2.2 +6 -6 src/usr.sbin/adduser/adduser.perl 1.1.2.1 +6 -4 src/usr.sbin/adduser/rmgroup.8 1.1.2.1 +3 -4 src/usr.sbin/adduser/rmuser.8 1.2.2.1 +34 -52 src/usr.sbin/bootparamd/bootparamd/bootparamd.8 1.2.2.2 +1 -1 src/usr.sbin/bootparamd/bootparamd/bootparams.5 1.1.1.1.6.1 +178 -152 src/sbin/i386/cxconfig/cxconfig.8 1.2.6.1 +3 -1 src/sbin/i386/ft/ft.8 1.23.2.2 +39 -48 src/sbin/ipfw/ipfw.8 1.1.1.1.2.1 +103 -111 src/usr.sbin/newsyslog/newsyslog.8 From owner-cvs-usrsbin Sun Dec 22 18:19:15 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04586 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 18:19:15 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04579; Sun, 22 Dec 1996 18:19:14 -0800 (PST) Date: Sun, 22 Dec 1996 18:19:14 -0800 (PST) From: Mike Pritchard Message-Id: <199612230219.SAA04579@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/kbdmap kbdmap.1 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 18:19:13 Modified: usr.sbin/kbdmap kbdmap.1 Log: Some more man page cleanup. Revision Changes Path 1.7 +33 -41 src/usr.sbin/kbdmap/kbdmap.1 From owner-cvs-usrsbin Sun Dec 22 18:20:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04749 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 18:20:40 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA04742; Sun, 22 Dec 1996 18:20:38 -0800 (PST) Date: Sun, 22 Dec 1996 18:20:38 -0800 (PST) From: Mike Pritchard Message-Id: <199612230220.SAA04742@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/kbdmap kbdmap.1 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 96/12/22 18:20:38 Branch: usr.sbin/kbdmap RELENG_2_2 Modified: usr.sbin/kbdmap kbdmap.1 Log: YAMFC: More man page cleanup. Revision Changes Path 1.6.2.1 +33 -41 src/usr.sbin/kbdmap/kbdmap.1 From owner-cvs-usrsbin Sun Dec 22 18:27:31 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA05098 for cvs-usrsbin-outgoing; Sun, 22 Dec 1996 18:27:31 -0800 (PST) Received: (from davidn@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA05089; Sun, 22 Dec 1996 18:27:30 -0800 (PST) Date: Sun, 22 Dec 1996 18:27:30 -0800 (PST) From: David Nugent Message-Id: <199612230227.SAA05089@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pw pw_user.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 96/12/22 18:27:30 Modified: usr.sbin/pw pw_user.c Log: Correct file modes on updated /etc/skeykeys. Revision Changes Path 1.9 +2 -2 src/usr.sbin/pw/pw_user.c From owner-cvs-usrsbin Mon Dec 23 10:14:01 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA12973 for cvs-usrsbin-outgoing; Mon, 23 Dec 1996 10:14:01 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA12962; Mon, 23 Dec 1996 10:13:59 -0800 (PST) Date: Mon, 23 Dec 1996 10:13:59 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199612231813.KAA12962@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ppp Makefile alias.c chap.c chat.c command.c defs.h ip.c ipcp.c main.c modem.c os.c phase.h ppp.8 route.c systems.c vars.c vars.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/12/23 10:13:58 Branch: usr.sbin/ppp RELENG_2_2 Modified: usr.sbin/ppp Makefile alias.c chap.c chat.c command.c defs.h ip.c ipcp.c main.c modem.c os.c phase.h ppp.8 route.c systems.c vars.c vars.h Log: Merge from -current. Revision Changes Path 1.9.2.2 +0 -0 src/usr.sbin/ppp/Makefile 1.1.2.2 +1 -1 src/usr.sbin/ppp/alias.c 1.7.2.2 +1 -1 src/usr.sbin/ppp/chap.c 1.11.2.2 +1 -1 src/usr.sbin/ppp/chat.c 1.24.2.2 +25 -7 src/usr.sbin/ppp/command.c 1.4.2.2 +7 -1 src/usr.sbin/ppp/defs.h 1.9.2.3 +1 -1 src/usr.sbin/ppp/ip.c 1.9.2.2 +1 -1 src/usr.sbin/ppp/ipcp.c 1.22.2.3 +80 -32 src/usr.sbin/ppp/main.c 1.24.2.1 +30 -18 src/usr.sbin/ppp/modem.c 1.7.2.2 +0 -0 src/usr.sbin/ppp/os.c 1.2.6.1 +3 -2 src/usr.sbin/ppp/phase.h 1.19.2.2 +77 -23 src/usr.sbin/ppp/ppp.8 1.9.2.2 +0 -0 src/usr.sbin/ppp/route.c 1.6.2.2 +1 -1 src/usr.sbin/ppp/systems.c 1.9.2.1 +3 -3 src/usr.sbin/ppp/vars.c 1.7.2.1 +3 -1 src/usr.sbin/ppp/vars.h From owner-cvs-usrsbin Mon Dec 23 15:09:58 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA28063 for cvs-usrsbin-outgoing; Mon, 23 Dec 1996 15:09:58 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA28055; Mon, 23 Dec 1996 15:09:57 -0800 (PST) Date: Mon, 23 Dec 1996 15:09:57 -0800 (PST) From: Wolfram Schneider Message-Id: <199612232309.PAA28055@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-usrbin, cvs-sbin, cvs-usrsbin Subject: cvs commit: src/lib/libc/net inet.3 ns.3 src/lib/libc/sys mincore.2 readlink.2 vfork.2 src/lib/libm/common_source atan2.3 src/lib/msun/man atan2.3 src/sbin/dumplfs dumplfs.8 src/sbin/mount_std mount_std.8 src/usr.bin/login login.1 src/usr.bin/w w.1 src/usr.sbin/kernbb kernbb.8 src/usr.sbin/quot quot.8 src/lib/libc/stdlib calloc.3 memory.3 src/usr.sbin/pcvt/keycap/man5 keycap.5 Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/12/23 15:09:56 Modified: lib/libc/net inet.3 ns.3 lib/libc/stdlib calloc.3 memory.3 lib/libc/sys mincore.2 readlink.2 vfork.2 lib/libm/common_source atan2.3 lib/msun/man atan2.3 sbin/dumplfs dumplfs.8 sbin/mount_std mount_std.8 usr.bin/login login.1 usr.bin/w w.1 usr.sbin/kernbb kernbb.8 usr.sbin/pcvt/keycap/man5 keycap.5 usr.sbin/quot quot.8 Log: comma typos Revision Changes Path 1.3 +2 -2 src/lib/libc/net/inet.3 1.2 +2 -1 src/lib/libc/net/ns.3 1.2 +3 -2 src/lib/libc/stdlib/calloc.3 1.2 +3 -2 src/lib/libc/stdlib/memory.3 1.5 +4 -3 src/lib/libc/sys/mincore.2 1.3 +4 -3 src/lib/libc/sys/readlink.2 1.5 +3 -2 src/lib/libc/sys/vfork.2 1.2 +3 -2 src/lib/libm/common_source/atan2.3 1.3 +3 -3 src/lib/msun/man/atan2.3 1.2 +3 -2 src/sbin/dumplfs/dumplfs.8 1.5 +6 -6 src/sbin/mount_std/mount_std.8 1.5 +3 -2 src/usr.bin/login/login.1 1.3 +2 -1 src/usr.bin/w/w.1 1.2 +2 -1 src/usr.sbin/kernbb/kernbb.8 1.3 +2 -5 src/usr.sbin/pcvt/keycap/man5/keycap.5 1.4 +2 -2 src/usr.sbin/quot/quot.8 From owner-cvs-usrsbin Mon Dec 23 18:44:56 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA05492 for cvs-usrsbin-outgoing; Mon, 23 Dec 1996 18:44:56 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA05485; Mon, 23 Dec 1996 18:44:55 -0800 (PST) Date: Mon, 23 Dec 1996 18:44:55 -0800 (PST) From: Bill Paul Message-Id: <199612240244.SAA05485@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv yp_dnslookup.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/12/23 18:44:54 Modified: usr.sbin/ypserv yp_dnslookup.c Log: Fix some bugs: - Don't dereference a NULL hostent pointer (if T_PTR lookup fails). - Today I asked myself: "Self, you wrote this nifty async resolver that does a great job handling delayed replies to clients using the UDP transport, and the yplib code in libc always uses UDP (except for yp_all()). But what if some dork makes a DNS lookup using TCP?" Being the only dork on hand at the time, I tried it and was enlightened. As I suspected, my transaction ID frobbing hacks cause fireworks if called on a TCP transport handle (duh: the structures are different). Fix: check the type of socket in xprt->xp_sock using getsockopt() and don't use svcudp_get_xid() and svcudp_set_xid() for anything except SOCK_DGRAM sockets. (Since accept() gives you a new socket for each connection, the transaction ID munging isn't needed for TCP anyway.) Revision Changes Path 1.5 +34 -11 src/usr.sbin/ypserv/yp_dnslookup.c From owner-cvs-usrsbin Wed Dec 25 10:10:40 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA17792 for cvs-usrsbin-outgoing; Wed, 25 Dec 1996 10:10:40 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA17783; Wed, 25 Dec 1996 10:10:38 -0800 (PST) Date: Wed, 25 Dec 1996 10:10:38 -0800 (PST) From: Bill Paul Message-Id: <199612251810.KAA17783@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv yp_dnslookup.c yp_extern.h yp_main.c yp_server.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/12/25 10:10:37 Modified: usr.sbin/ypserv yp_dnslookup.c yp_extern.h yp_main.c yp_server.c Log: More async resolver refinements: - yp_main.c: Always add the resolver socket to the set of fds monitored by select(). It can happen that pending == 0 but we still have some data in the socket buffer from an old query. This way, the data will be flushed in a timely manner. - yp_extern.h: remove proto for yp_dns_pending() since we don't need it anynmore. - yp_server.c: call yp_async_lookup_name()/yp_async_lookup_addr() functions with the svc_req pointer as an arg instead of the xprt. (The svc_req struct includes a pointer to the transport handle, and it also has the service version number which the async DNS code will need. (see below)) - yp_dnslookup.c: o Nuke yp_dns_pending() since we don't need it anymore. o In yp_run_dnsq(), swallow up and ignore replies if no requests are pending or the ID doesn't match any of the IDs in the queue. o In yp_send_dns_reply(), we assume that we will always be replying to an NIS v2 client. While this will probably always be the case, we do support the v1 'match' procedure, and it has a different result struct than v2. For completeness, support replying to both NIS v1 and v2 clients. o Update the queue entry structure to include a member to keep track of the NIS version number. o Have yp_async_lookup_name/addr() extract the version number from the svc_req structure and save it with the queue entry for yp_send_dns_reply() to inspect later. o Add some comments. Revision Changes Path 1.6 +106 -43 src/usr.sbin/ypserv/yp_dnslookup.c 1.9 +3 -4 src/usr.sbin/ypserv/yp_extern.h 1.10 +3 -4 src/usr.sbin/ypserv/yp_main.c 1.16 +3 -3 src/usr.sbin/ypserv/yp_server.c From owner-cvs-usrsbin Thu Dec 26 15:40:34 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA17643 for cvs-usrsbin-outgoing; Thu, 26 Dec 1996 15:40:34 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA17636; Thu, 26 Dec 1996 15:40:33 -0800 (PST) Date: Thu, 26 Dec 1996 15:40:33 -0800 (PST) From: Peter Wemm Message-Id: <199612262340.PAA17636@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config main.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/26 15:40:32 Modified: usr.sbin/config main.c Log: Tidy up the generated config.c file. Use #include "opt_config.h", comment out text after #endif line, add missing \n at end of file, only install new config.c if it's different to the last one which preserves the timestamp. Revision Changes Path 1.15 +4 -2 src/usr.sbin/config/main.c From owner-cvs-usrsbin Thu Dec 26 21:49:54 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03678 for cvs-usrsbin-outgoing; Thu, 26 Dec 1996 21:49:54 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03671; Thu, 26 Dec 1996 21:49:53 -0800 (PST) Date: Thu, 26 Dec 1996 21:49:53 -0800 (PST) From: Warner Losh Message-Id: <199612270549.VAA03671@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sliplogin sliplogin.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 96/12/26 21:49:52 Modified: usr.sbin/sliplogin sliplogin.c Log: Fix various buffer overflow cases in sliplogin. These might have been able to be exploited, or might not. However, it is better to be safe than sorry. Definitely a 2.2 fix, and a -stable if there is someone to commit it. Reviewed by: Jordan Hubbard Submitted by: Marc Slemko Revision Changes Path 1.7 +17 -12 src/usr.sbin/sliplogin/sliplogin.c From owner-cvs-usrsbin Thu Dec 26 21:52:15 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03793 for cvs-usrsbin-outgoing; Thu, 26 Dec 1996 21:52:15 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03785; Thu, 26 Dec 1996 21:52:14 -0800 (PST) Date: Thu, 26 Dec 1996 21:52:14 -0800 (PST) From: Warner Losh Message-Id: <199612270552.VAA03785@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sliplogin sliplogin.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 96/12/26 21:52:12 Branch: usr.sbin/sliplogin RELENG_2_2 Modified: usr.sbin/sliplogin sliplogin.c Log: Merge Marc Slemko's overflow patches from -current. Approved by: jkh@freebsd.org Revision Changes Path 1.6.2.1 +17 -12 src/usr.sbin/sliplogin/sliplogin.c From owner-cvs-usrsbin Thu Dec 26 21:55:14 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03929 for cvs-usrsbin-outgoing; Thu, 26 Dec 1996 21:55:14 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id VAA03922; Thu, 26 Dec 1996 21:55:13 -0800 (PST) Date: Thu, 26 Dec 1996 21:55:13 -0800 (PST) From: Warner Losh Message-Id: <199612270555.VAA03922@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sliplogin sliplogin.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 96/12/26 21:55:13 Branch: usr.sbin/sliplogin RELENG_2_1_0 Modified: usr.sbin/sliplogin sliplogin.c Log: Merge 1.7 from current, at Marc's request Revision Changes Path 1.3.4.3 +17 -12 src/usr.sbin/sliplogin/sliplogin.c From owner-cvs-usrsbin Sat Dec 28 05:50:36 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA12640 for cvs-usrsbin-outgoing; Sat, 28 Dec 1996 05:50:36 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA12633; Sat, 28 Dec 1996 05:50:35 -0800 (PST) Date: Sat, 28 Dec 1996 05:50:35 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199612281350.FAA12633@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ctm/ctm ctm_pass3.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/12/28 05:50:35 Modified: usr.sbin/ctm/ctm ctm_pass3.c Log: Be a little less fatalistic in case of problems. Reviewed by: phk Submitted by: wosch Revision Changes Path 1.15 +4 -3 src/usr.sbin/ctm/ctm/ctm_pass3.c From owner-cvs-usrsbin Sat Dec 28 09:57:31 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA19106 for cvs-usrsbin-outgoing; Sat, 28 Dec 1996 09:57:31 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA19099; Sat, 28 Dec 1996 09:57:30 -0800 (PST) Date: Sat, 28 Dec 1996 09:57:30 -0800 (PST) From: Peter Wemm Message-Id: <199612281757.JAA19099@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sendmail/cf/cf Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/28 09:57:29 Modified: usr.sbin/sendmail/cf/cf Makefile Log: Add a hook for installing the /etc/sendmail.cf file Submitted by: bde Revision Changes Path 1.6 +4 -0 src/usr.sbin/sendmail/cf/cf/Makefile From owner-cvs-usrsbin Sat Dec 28 10:02:13 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA19320 for cvs-usrsbin-outgoing; Sat, 28 Dec 1996 10:02:13 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA19309; Sat, 28 Dec 1996 10:02:09 -0800 (PST) Date: Sat, 28 Dec 1996 10:02:09 -0800 (PST) From: Peter Wemm Message-Id: <199612281802.KAA19309@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sendmail/cf/cf Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/28 10:02:07 Modified: usr.sbin/sendmail/cf/cf Makefile Log: Use the label that Bruce suggested, it seems the src/etc/Makefile "helpers" are all prefixed with "etc-". Revision Changes Path 1.7 +1 -1 src/usr.sbin/sendmail/cf/cf/Makefile From owner-cvs-usrsbin Sat Dec 28 10:11:12 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA19601 for cvs-usrsbin-outgoing; Sat, 28 Dec 1996 10:11:12 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA19591; Sat, 28 Dec 1996 10:11:10 -0800 (PST) Date: Sat, 28 Dec 1996 10:11:10 -0800 (PST) From: Peter Wemm Message-Id: <199612281811.KAA19591@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/sendmail/cf/cf Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/28 10:11:09 Modified: usr.sbin/sendmail/cf/cf Makefile Log: Allow an optional setting to specify a .cf file to be built and installed into /etc during the sendmail build. Not for the feint hearted. (I have been using something like this for some time since I only ever edit my system's .mc file) Revision Changes Path 1.8 +21 -5 src/usr.sbin/sendmail/cf/cf/Makefile