From owner-cvs-usrsbin Sun Oct 29 01:03:19 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA07260 for cvs-usrsbin-outgoing; Sun, 29 Oct 1995 01:03:19 -0800 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA07245 ; Sun, 29 Oct 1995 01:03:16 -0800 Date: Sun, 29 Oct 1995 01:03:16 -0800 From: Bruce Evans Message-Id: <199510290903.BAA07245@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin Makefile Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk bde 95/10/29 01:03:15 Modified: usr.sbin Makefile Log: Add rndcontrol. From owner-cvs-usrsbin Sun Oct 29 01:57:07 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA10170 for cvs-usrsbin-outgoing; Sun, 29 Oct 1995 01:57:07 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA10159 ; Sun, 29 Oct 1995 01:56:57 -0800 Date: Sun, 29 Oct 1995 01:56:57 -0800 From: Poul-Henning Kamp Message-Id: <199510290956.BAA10159@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/kgmon kgmon.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk phk 95/10/29 01:56:55 Modified: usr.sbin/kgmon kgmon.c Log: #include From owner-cvs-usrsbin Sun Oct 29 01:58:09 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA10283 for cvs-usrsbin-outgoing; Sun, 29 Oct 1995 01:58:09 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA10264 ; Sun, 29 Oct 1995 01:57:53 -0800 Date: Sun, 29 Oct 1995 01:57:53 -0800 From: Poul-Henning Kamp Message-Id: <199510290957.BAA10264@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk phk 95/10/29 01:57:52 Modified: usr.sbin/pstat pstat.c Log: #include I belive make world will work again now. From owner-cvs-usrsbin Sun Oct 29 02:55:00 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA13332 for cvs-usrsbin-outgoing; Sun, 29 Oct 1995 02:55:00 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id CAA13322 ; Sun, 29 Oct 1995 02:54:45 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id VAA03281; Sun, 29 Oct 1995 21:48:34 +1100 Date: Sun, 29 Oct 1995 21:48:34 +1100 From: Bruce Evans Message-Id: <199510291048.VAA03281@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/kgmon kgmon.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk > Modified: usr.sbin/kgmon kgmon.c > Log: > #include #include Bruce From owner-cvs-usrsbin Sun Oct 29 03:07:30 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA13783 for cvs-usrsbin-outgoing; Sun, 29 Oct 1995 03:07:30 -0800 Received: (from davidg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA13768 ; Sun, 29 Oct 1995 03:07:20 -0800 Date: Sun, 29 Oct 1995 03:07:20 -0800 From: David Greenman Message-Id: <199510291107.DAA13768@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config mkmakefile.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk davidg 95/10/29 03:07:19 Modified: usr.sbin/config mkmakefile.c Log: Added support for a %SFILES token to auto-generate a SFILES= file list in the same way that is done for CFILES. Files ending in .s or .S that match the option criteria will be included in this list. From owner-cvs-usrsbin Sun Oct 29 03:11:44 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA14025 for cvs-usrsbin-outgoing; Sun, 29 Oct 1995 03:11:44 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA14003 ; Sun, 29 Oct 1995 03:11:33 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id WAA04008; Sun, 29 Oct 1995 22:06:19 +1100 Date: Sun, 29 Oct 1995 22:06:19 +1100 From: Bruce Evans Message-Id: <199510291106.WAA04008@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/pstat pstat.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk > Modified: usr.sbin/pstat pstat.c > Log: > #include > I belive make world will work again now. A little slower :-). Should be #include or should be fixed to define KERNBASE. pstat.c was missing only the definition of KERNBASE which is only used for a kludge. KERNBASE is defined in and used in although it isn't defined there or in anything included by . pstat.c includes . Bruce From owner-cvs-usrsbin Mon Oct 30 06:03:09 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA23124 for cvs-usrsbin-outgoing; Mon, 30 Oct 1995 06:03:09 -0800 Received: (from adam@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA23115 ; Mon, 30 Oct 1995 06:03:03 -0800 Date: Mon, 30 Oct 1995 06:03:03 -0800 From: Adam David Message-Id: <199510301403.GAA23115@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/inetd inetd.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk adam 95/10/30 06:03:02 Modified: usr.sbin/inetd inetd.c Log: Implement simple quoting for command args. Previously "abc xyz" became 2 args split at the space. From owner-cvs-usrsbin Mon Oct 30 07:45:27 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA26939 for cvs-usrsbin-outgoing; Mon, 30 Oct 1995 07:45:27 -0800 Received: (from phk@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA26920 ; Mon, 30 Oct 1995 07:45:24 -0800 Date: Mon, 30 Oct 1995 07:45:24 -0800 From: Poul-Henning Kamp Message-Id: <199510301545.HAA26920@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/kgmon kgmon.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk phk 95/10/30 07:45:23 Modified: usr.sbin/kgmon kgmon.c Log: -> Spotted by: bde From owner-cvs-usrsbin Tue Oct 31 09:31:44 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA09487 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 09:31:44 -0800 Received: (from joerg@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA09470 ; Tue, 31 Oct 1995 09:31:37 -0800 Date: Tue, 31 Oct 1995 09:31:37 -0800 From: Joerg Wunsch Message-Id: <199510311731.JAA09470@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/config mkioconf.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk joerg 95/10/31 09:31:37 Modified: usr.sbin/config mkioconf.c Log: Support the configuration of "od" devices. Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama) From owner-cvs-usrsbin Tue Oct 31 12:30:23 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21783 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 12:30:23 -0800 Received: (from jkh@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA21774 ; Tue, 31 Oct 1995 12:30:19 -0800 Date: Tue, 31 Oct 1995 12:30:19 -0800 From: "Jordan K. Hubbard" Message-Id: <199510312030.MAA21774@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/lib file.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk jkh 95/10/31 12:30:19 (jkh/2035/jkh) Modified: usr.sbin/pkg_install/add perform.c usr.sbin/pkg_install/lib file.c Log: Fix the `pkg_add relative to .' bug. Thank you, Ville! Submitted by: Ville Eerola From owner-cvs-usrsbin Tue Oct 31 12:35:26 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22078 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 12:35:26 -0800 Received: (from jkh@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA22069 ; Tue, 31 Oct 1995 12:35:22 -0800 Date: Tue, 31 Oct 1995 12:35:22 -0800 From: "Jordan K. Hubbard" Message-Id: <199510312035.MAA22069@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/lib file.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk jkh 95/10/31 12:35:21 (jkh/2035/jkh) Branch: usr.sbin/pkg_install/add RELENG_2_1_0 usr.sbin/pkg_install/lib RELENG_2_1_0 Modified: usr.sbin/pkg_install/add perform.c usr.sbin/pkg_install/lib file.c Log: Sync with HEAD. From owner-cvs-usrsbin Tue Oct 31 13:11:34 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA23844 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 13:11:34 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA23828 ; Tue, 31 Oct 1995 13:11:26 -0800 Date: Tue, 31 Oct 1995 13:11:26 -0800 From: Peter Wemm Message-Id: <199510312111.NAA23828@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppd - Imported sources Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/10/31 13:11:24 (peter/633/peter) Branch: usr.sbin/pppd 1.1.2 Log: Import pppd onto the vendor branch from the ppp-2.2 package.. Status: Vendor Tag: MACKERAS Release Tags: ppp_2_2 C src/usr.sbin/pppd/auth.c N src/usr.sbin/pppd/ccp.c N src/usr.sbin/pppd/ccp.h C src/usr.sbin/pppd/chap.c C src/usr.sbin/pppd/chap.h C src/usr.sbin/pppd/fsm.c C src/usr.sbin/pppd/fsm.h C src/usr.sbin/pppd/ipcp.c C src/usr.sbin/pppd/ipcp.h C src/usr.sbin/pppd/lcp.c C src/usr.sbin/pppd/lcp.h C src/usr.sbin/pppd/magic.c C src/usr.sbin/pppd/magic.h C src/usr.sbin/pppd/main.c C src/usr.sbin/pppd/Makefile U src/usr.sbin/pppd/md5.c U src/usr.sbin/pppd/md5.h C src/usr.sbin/pppd/options.c C src/usr.sbin/pppd/pathnames.h C src/usr.sbin/pppd/patchlevel.h C src/usr.sbin/pppd/pppd.8 C src/usr.sbin/pppd/pppd.h C src/usr.sbin/pppd/sys-bsd.c C src/usr.sbin/pppd/upap.c C src/usr.sbin/pppd/upap.h 21 conflicts created by this import. Use the following command to help the merge: ccvs checkout -jMACKERAS:yesterday -jMACKERAS src/usr.sbin/pppd From owner-cvs-usrsbin Tue Oct 31 13:22:05 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA24645 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 13:22:05 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA24616 ; Tue, 31 Oct 1995 13:21:54 -0800 Date: Tue, 31 Oct 1995 13:21:54 -0800 From: Peter Wemm Message-Id: <199510312121.NAA24616@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppd Makefile auth.c ccp.c ccp.h chap.c chap.h fsm.c fsm.h ipcp.c ipcp.h lcp.c lcp.h magic.c magic.h main.c options.c patchlevel.h pathnames.h pppd.8 pppd.h sys-bsd.c upap.c upap.h Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/10/31 13:21:53 (peter/633/peter) Modified: usr.sbin/pppd Makefile auth.c ccp.c ccp.h chap.c chap.h fsm.c fsm.h ipcp.c ipcp.h lcp.c lcp.h magic.c magic.h main.c options.c patchlevel.h pathnames.h pppd.8 pppd.h sys-bsd.c upap.c upap.h Log: Bring pppd from ppp-2.2 onto the mainline.. (more work needs to be done here, I'm trying to beat the supscan) From owner-cvs-usrsbin Tue Oct 31 13:29:37 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA25111 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 13:29:37 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA25077 ; Tue, 31 Oct 1995 13:29:28 -0800 Date: Tue, 31 Oct 1995 13:29:28 -0800 From: Peter Wemm Message-Id: <199510312129.NAA25077@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppd ccp.c options.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/10/31 13:29:27 (peter/633/peter) Modified: usr.sbin/pppd ccp.c options.c Log: Whoops.. ppp-comp.h -> ppp_comp.h... From owner-cvs-usrsbin Tue Oct 31 13:35:47 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA25786 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 13:35:47 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA25768 ; Tue, 31 Oct 1995 13:35:38 -0800 Date: Tue, 31 Oct 1995 13:35:38 -0800 From: Peter Wemm Message-Id: <199510312135.NAA25768@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppstats - Imported sources Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/10/31 13:35:37 (peter/633/peter) Branch: usr.sbin/pppstats 1.1.2 Log: Import pppstats from the ppp-2.2 package onto vendor branch. Status: Vendor Tag: MACKERAS Release Tags: ppp_2_2 C src/usr.sbin/pppstats/pppstats.8 C src/usr.sbin/pppstats/pppstats.c C src/usr.sbin/pppstats/Makefile 3 conflicts created by this import. Use the following command to help the merge: ccvs checkout -jMACKERAS:yesterday -jMACKERAS src/usr.sbin/pppstats From owner-cvs-usrsbin Tue Oct 31 13:42:17 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA26170 for cvs-usrsbin-outgoing; Tue, 31 Oct 1995 13:42:17 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA26137 ; Tue, 31 Oct 1995 13:42:01 -0800 Date: Tue, 31 Oct 1995 13:42:01 -0800 From: Peter Wemm Message-Id: <199510312142.NAA26137@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppstats Makefile pppstats.8 pppstats.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/10/31 13:42:00 (peter/633/peter) Modified: usr.sbin/pppstats Makefile pppstats.8 pppstats.c Log: Merge pppstats from ppp-2.2 onto mainline.. This version uses specific interface ioctl()'s rather than groveling around in /dev/kmem From owner-cvs-usrsbin Thu Nov 2 18:56:25 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA05691 for cvs-usrsbin-outgoing; Thu, 2 Nov 1995 18:56:25 -0800 Received: (from jkh@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id SAA05540 ; Thu, 2 Nov 1995 18:55:00 -0800 Date: Thu, 2 Nov 1995 18:55:00 -0800 From: "Jordan K. Hubbard" Message-Id: <199511030255.SAA05540@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/add main.c perform.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk jkh 95/11/02 18:54:59 Branch: usr.sbin/pkg_install/add RELENG_2_1_0 Modified: usr.sbin/pkg_install/add main.c perform.c Log: These patches fix two problems : 1 ) Tar was being called to process the archive after chdir()ing into the playpen, but the pathname given to it was uncorrected for the chdir(). This is corrected by converting _all_ pathname arguments using realpath() (fileFindByPath() is used as a last-ditch attempt if the argument can't be found) 2 ) min_free was being called on the saved invocation directory, not on the playpen at one point. (There are currently two seperate space checks, one when the playpen is created, and one later. This is harmless cruft) Submitted by: Michael Smith From owner-cvs-usrsbin Fri Nov 3 01:30:27 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA01136 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 01:30:27 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA01125 ; Fri, 3 Nov 1995 01:30:16 -0800 Date: Fri, 3 Nov 1995 01:30:16 -0800 From: Peter Wemm Message-Id: <199511030930.BAA01125@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/inetd inetd.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 01:30:15 Modified: usr.sbin/inetd inetd.c Log: Workaround for the setlogin()-in-same-session-as-inetd bug. This causes: 1: inetd to clear it's getlogin() name at startup (in case the sysadmin logged in and su'ed to root and restarted inetd) 2: inetd to start each spawned process in it's own session. 3: inetd to call setlogin() on non-root processes (eg: uucp for uucico) 4: log failures more extensively This means that root spawned processes from inetd remain responsible for setting their login name if they change their uid. (eg: rshd, login, etc). If they do not do so, it is safer for them to have no "login name" than a wrong one (like "root") because the getlogin() system call is documented as "secure" on 4.4BSD. inetd when started from /etc/rc would have no login name anyway, so this isn't really a change - it's making it consistant with the bootup state... The setsid() change *may* cause something to break that is doing a setsid() itself and checking the result - it will fail now because it's already been done. The consensis seems to be that this is unlikely. David G. thinks this is acceptable as it is cleaner from an architectural point of view. From owner-cvs-usrsbin Fri Nov 3 03:13:43 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA05735 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 03:13:43 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA05719 ; Fri, 3 Nov 1995 03:13:31 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id DAA04060; Fri, 3 Nov 1995 03:12:55 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id DAA00303; Fri, 3 Nov 1995 03:12:25 -0800 Message-Id: <199511031112.DAA00303@corbin.Root.COM> To: Peter Wemm cc: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/inetd inetd.c In-reply-to: Your message of "Fri, 03 Nov 95 01:30:16 PST." <199511030930.BAA01125@freefall.freebsd.org> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 03 Nov 1995 03:12:25 -0800 Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk >peter 95/11/03 01:30:15 > > Modified: usr.sbin/inetd inetd.c > Log: > Workaround for the setlogin()-in-same-session-as-inetd bug. > > This causes: > 1: inetd to clear it's getlogin() name at startup (in case the sysadmin > logged in and su'ed to root and restarted inetd) > 2: inetd to start each spawned process in it's own session. > 3: inetd to call setlogin() on non-root processes (eg: uucp for uucico) > 4: log failures more extensively > > This means that root spawned processes from inetd remain responsible for > setting their login name if they change their uid. (eg: rshd, login, etc). > > If they do not do so, it is safer for them to have no "login name" than a > wrong one (like "root") because the getlogin() system call is documented > as "secure" on 4.4BSD. inetd when started from /etc/rc would have no login > name anyway, so this isn't really a change - it's making it consistant with > the bootup state... > > The setsid() change *may* cause something to break that is doing a setsid() > itself and checking the result - it will fail now because it's already been > done. The consensis seems to be that this is unlikely. David G. thinks > this is acceptable as it is cleaner from an architectural point of view. Heh..trying to blame ME for it, huh? :-) I'll also point out that both Mike Karels and Kirk McKusick reviewed this change. -DG From owner-cvs-usrsbin Fri Nov 3 07:06:24 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA13966 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 07:06:24 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA13952 ; Fri, 3 Nov 1995 07:06:06 -0800 Date: Fri, 3 Nov 1995 07:06:06 -0800 From: Peter Wemm Message-Id: <199511031506.HAA13952@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/quot - Imported sources Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 07:06:05 Branch: usr.sbin/quot 1.1.1 Log: Import NetBSD's quot command, filling the gap in our sources (We only have the man page...) Obtained from: NetBSD; Wolfgang Solfrank / TooLs GmbH. Status: Vendor Tag: NETBSD Release Tags: cur_951014 N src/usr.sbin/quot/Makefile U src/usr.sbin/quot/quot.8 N src/usr.sbin/quot/quot.c No conflicts created by this import From owner-cvs-usrsbin Fri Nov 3 07:21:22 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA14477 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 07:21:22 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA14452 ; Fri, 3 Nov 1995 07:21:07 -0800 Date: Fri, 3 Nov 1995 07:21:07 -0800 From: Peter Wemm Message-Id: <199511031521.HAA14452@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/quot Makefile quot.8 quot.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 07:21:06 Modified: usr.sbin/quot Makefile quot.8 quot.c Log: Minor tweaks to get quot to compile on FreeBSD.. Basically back-port the dynamic fsname strings back to static constants. From owner-cvs-usrsbin Fri Nov 3 07:22:10 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA14620 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 07:22:10 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA14599 ; Fri, 3 Nov 1995 07:22:00 -0800 Date: Fri, 3 Nov 1995 07:22:00 -0800 From: Peter Wemm Message-Id: <199511031522.HAA14599@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin Makefile Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 07:21:57 Modified: usr.sbin Makefile Log: add quot.. From owner-cvs-usrsbin Fri Nov 3 08:07:40 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA16141 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 08:07:40 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA16133 ; Fri, 3 Nov 1995 08:07:22 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA13003; Sat, 4 Nov 1995 03:05:56 +1100 Date: Sat, 4 Nov 1995 03:05:56 +1100 From: Bruce Evans Message-Id: <199511031605.DAA13003@godzilla.zeta.org.au> To: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org, peter@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/quot Makefile quot.8 quot.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk > Modified: usr.sbin/quot Makefile quot.8 quot.c > Log: > Minor tweaks to get quot to compile on FreeBSD.. > Basically back-port the dynamic fsname strings back to static constants. This reminds me that our getvfsbyname() is inconsistent with 4.4lite2's. To get the 4.4lite2 `find' to work I had to port it like this: *** function.c~ Thu May 4 19:56:54 1995 --- function.c Thu Sep 28 00:18:06 1995 *************** *** 398,401 **** --- 400,404 ---- register PLAN *new; struct vfsconf vfc; + struct vfsconf *vfsp; ftsoptions &= ~FTS_NOSTAT; *************** *** 406,412 **** * Check first for a filesystem name. */ ! if (getvfsbyname(arg, &vfc) == 0) { new->flags = F_MTTYPE; ! new->mt_data = vfc.vfc_typenum; return (new); } --- 409,417 ---- * Check first for a filesystem name. */ ! vfsp = getvfsbyname(arg); ! if (vfsp != NULL) { ! vfc = *vfsp; new->flags = F_MTTYPE; ! new->mt_data = vfc.vfc_index; return (new); } (our find doesn't support most of the fstypes). The 4.4lite2 interface is better because it allows returning an error code. Bruce From owner-cvs-usrsbin Fri Nov 3 08:18:35 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA16512 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 08:18:35 -0800 Received: from jhome.DIALix.COM (jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA16496 ; Fri, 3 Nov 1995 08:18:14 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id AAA01587; Sat, 4 Nov 1995 00:17:29 +0800 Date: Sat, 4 Nov 1995 00:17:24 +0800 (WST) From: Peter Wemm To: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/quot - Imported sources In-Reply-To: <199511031506.HAA13952@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk On Fri, 3 Nov 1995, Peter Wemm wrote: > peter 95/11/03 07:06:05 > > Branch: usr.sbin/quot 1.1.1 > Log: > Import NetBSD's quot command, filling the gap in our sources > (We only have the man page...) > > Obtained from: NetBSD; Wolfgang Solfrank / TooLs GmbH. I'm also planning on pulling in their fsdb as well (John Kohl's one). I presume there will be no objections, since we have nothing else we can do if fsck can't fix something other than newfs at the moment - but yell anyway if you dont think this is a good idea. No, it doesn't have a libdialog GUI on it.. ;-) -Peter From owner-cvs-usrsbin Fri Nov 3 09:04:26 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA18465 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 09:04:26 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA18435 ; Fri, 3 Nov 1995 09:04:09 -0800 Date: Fri, 3 Nov 1995 09:04:09 -0800 From: Peter Wemm Message-Id: <199511031704.JAA18435@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/quot quot.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 09:04:07 Modified: usr.sbin/quot quot.c Log: No need to go back quite _that_ far to the MOUNT_UFS constant when we have a perfectly good getvfsbyname("ufs").. :-) Pointed out by: wollman and bde From owner-cvs-usrsbin Fri Nov 3 09:06:15 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA18516 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 09:06:15 -0800 Received: from jhome.DIALix.COM (root@jhome.DIALix.COM [192.203.228.69]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id JAA18509 ; Fri, 3 Nov 1995 09:05:44 -0800 Received: (from peter@localhost) by jhome.DIALix.COM (8.6.12/8.6.9) id BAA02135; Sat, 4 Nov 1995 01:05:31 +0800 Date: Sat, 4 Nov 1995 01:05:30 +0800 (WST) From: Peter Wemm To: CVS-commiters@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/quot quot.c In-Reply-To: <199511031704.JAA18435@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk On Fri, 3 Nov 1995, Peter Wemm wrote: > peter 95/11/03 09:04:07 > > Modified: usr.sbin/quot quot.c > Log: > No need to go back quite _that_ far to the MOUNT_UFS constant when we have > a perfectly good getvfsbyname("ufs").. :-) > > Pointed out by: wollman and bde BTW: why is it "ufs" and not "ffs"? Cheers, -Peter From owner-cvs-usrsbin Fri Nov 3 11:06:54 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA23875 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 11:06:54 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA23861 ; Fri, 3 Nov 1995 11:06:47 -0800 Date: Fri, 3 Nov 1995 11:06:47 -0800 From: Peter Wemm Message-Id: <199511031906.LAA23861@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppd ipcp.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 11:06:46 Modified: usr.sbin/pppd ipcp.c Log: AARGH!! by default, pppd would no longer allow users to use "proxyarp" or "defaultroute"... That's forgivable I guess, but the silly thing didn't have any way to _enable_ the options either! :-( This now enables them by default. Obtained from: ppp-2.3a0 From owner-cvs-usrsbin Fri Nov 3 14:29:28 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA10544 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 14:29:28 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA10499 ; Fri, 3 Nov 1995 14:29:14 -0800 Date: Fri, 3 Nov 1995 14:29:14 -0800 From: Peter Wemm Message-Id: <199511032229.OAA10499@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/fsdb - Imported sources Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 14:29:13 Branch: usr.sbin/fsdb 1.1.1 Log: Import NetBSD's fsdb program. I believe this was written by John Kohl. Obtained from: NetBSD Status: Vendor Tag: NETBSD Release Tags: cur_951014 N src/usr.sbin/fsdb/Makefile N src/usr.sbin/fsdb/fsdb.8 N src/usr.sbin/fsdb/fsdb.c N src/usr.sbin/fsdb/fsdb.h N src/usr.sbin/fsdb/fsdbutil.c No conflicts created by this import From owner-cvs-usrsbin Fri Nov 3 14:39:05 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA11894 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 14:39:05 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA11870 ; Fri, 3 Nov 1995 14:38:55 -0800 Date: Fri, 3 Nov 1995 14:38:55 -0800 From: Peter Wemm Message-Id: <199511032238.OAA11870@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/fsdb - Imported sources Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 14:38:54 Branch: usr.sbin/fsdb 1.1.1 Log: Whoops. RE-Import NetBSD's fsdb - I believe this was written by John Kohl. Obtained from: NetBSD Status: Vendor Tag: NETBSD Release Tags: cur_951014_real N src/usr.sbin/fsdb/Makefile N src/usr.sbin/fsdb/fsdb.8 N src/usr.sbin/fsdb/fsdb.c N src/usr.sbin/fsdb/fsdb.h N src/usr.sbin/fsdb/fsdbutil.c No conflicts created by this import From owner-cvs-usrsbin Fri Nov 3 14:47:37 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA13076 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 14:47:37 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA13067 ; Fri, 3 Nov 1995 14:47:28 -0800 Date: Fri, 3 Nov 1995 14:47:28 -0800 From: Peter Wemm Message-Id: <199511032247.OAA13067@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/fsdb Makefile fsdb.8 fsdb.c fsdbutil.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 14:47:26 Modified: usr.sbin/fsdb Makefile fsdb.8 fsdb.c fsdbutil.c Log: Commit FreeBSD-specific changes. Mainly to do with structure layout differences that we dont have. From owner-cvs-usrsbin Fri Nov 3 14:53:26 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA14081 for cvs-usrsbin-outgoing; Fri, 3 Nov 1995 14:53:26 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA14026 ; Fri, 3 Nov 1995 14:53:11 -0800 Date: Fri, 3 Nov 1995 14:53:11 -0800 From: Peter Wemm Message-Id: <199511032253.OAA14026@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin Makefile Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/03 14:53:10 Modified: usr.sbin Makefile Log: Connect fsdb to the SUBDIR list. From owner-cvs-usrsbin Sat Nov 4 02:44:36 1995 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA04267 for cvs-usrsbin-outgoing; Sat, 4 Nov 1995 02:44:36 -0800 Received: (from peter@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id CAA04213 ; Sat, 4 Nov 1995 02:44:25 -0800 Date: Sat, 4 Nov 1995 02:44:25 -0800 From: Peter Wemm Message-Id: <199511041044.CAA04213@freefall.freebsd.org> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pppd options.c Sender: owner-cvs-usrsbin@FreeBSD.org Precedence: bulk peter 95/11/04 02:44:24 Modified: usr.sbin/pppd options.c Log: Recover lost support for netmask 255.255.255.255 that was lost in the merge. Submitted by: Michael Butler