From owner-cvs-sbin Wed Feb 5 17:24:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA02626 for cvs-sbin-outgoing; Wed, 5 Feb 1997 17:24:59 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA02606; Wed, 5 Feb 1997 17:24:53 -0800 (PST) Date: Wed, 5 Feb 1997 17:24:53 -0800 (PST) From: Wolfram Schneider Message-Id: <199702060124.RAA02606@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/nologin Makefile Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 97/02/05 17:24:51 Modified: sbin/nologin Makefile Log: /sbin -> ${BINDIR} Revision Changes Path 1.6 +1 -1 src/sbin/nologin/Makefile From owner-cvs-sbin Thu Feb 6 09:50:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA18383 for cvs-sbin-outgoing; Thu, 6 Feb 1997 09:50:00 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA18376; Thu, 6 Feb 1997 09:49:58 -0800 (PST) Date: Thu, 6 Feb 1997 09:49:58 -0800 (PST) From: Mike Pritchard Message-Id: <199702061749.JAA18376@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/newfs newfs.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/02/06 09:49:56 Modified: sbin/newfs newfs.8 Log: Replace "mfs" with "mount_mfs" in the NAME section. Revision Changes Path 1.10 +1 -1 src/sbin/newfs/newfs.8 From owner-cvs-sbin Thu Feb 6 09:50:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA18513 for cvs-sbin-outgoing; Thu, 6 Feb 1997 09:50:49 -0800 (PST) Received: (from mpp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA18501; Thu, 6 Feb 1997 09:50:47 -0800 (PST) Date: Thu, 6 Feb 1997 09:50:47 -0800 (PST) From: Mike Pritchard Message-Id: <199702061750.JAA18501@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/newfs newfs.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk mpp 97/02/06 09:50:46 Branch: sbin/newfs RELENG_2_2 Modified: sbin/newfs newfs.8 Log: YAMFC: s/mfs/mount_mfs/ in the NAME section. Revision Changes Path 1.7.2.2 +1 -1 src/sbin/newfs/newfs.8 From owner-cvs-sbin Thu Feb 6 14:48:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA12179 for cvs-sbin-outgoing; Thu, 6 Feb 1997 14:48:31 -0800 (PST) Received: (from danny@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA12170; Thu, 6 Feb 1997 14:48:29 -0800 (PST) Date: Thu, 6 Feb 1997 14:48:29 -0800 (PST) From: "Daniel O'Callaghan" Message-Id: <199702062248.OAA12170@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ping ping.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk danny 97/02/06 14:48:28 Modified: sbin/ping ping.c Log: Reviewed by: Gary Jennejohn Submitted by: Bruce Murphy Modified files: ping.c Add the '-a' audible flag to ping, useful for debugging ethernets without requiring the operator to jump up and look at the ping results every 15 seconds. Revision Changes Path 1.8.2.4 +8 -2 src/sbin/ping/ping.c From owner-cvs-sbin Thu Feb 6 14:52:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA12452 for cvs-sbin-outgoing; Thu, 6 Feb 1997 14:52:34 -0800 (PST) Received: (from danny@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA12444; Thu, 6 Feb 1997 14:52:32 -0800 (PST) Date: Thu, 6 Feb 1997 14:52:32 -0800 (PST) From: "Daniel O'Callaghan" Message-Id: <199702062252.OAA12444@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ping ping.8 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk danny 97/02/06 14:52:31 Modified: sbin/ping ping.8 Log: Submitted by: Bruce Murphy Update man page to reflect '-a' audible flag. Revision Changes Path 1.3.2.1 +5 -2 src/sbin/ping/ping.8 From owner-cvs-sbin Thu Feb 6 20:13:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA01234 for cvs-sbin-outgoing; Thu, 6 Feb 1997 20:13:54 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA01226; Thu, 6 Feb 1997 20:13:51 -0800 (PST) Date: Thu, 6 Feb 1997 20:13:51 -0800 (PST) From: Warner Losh Message-Id: <199702070413.UAA01226@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/restore dirs.c extern.h interactive.c main.c tape.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/02/06 20:13:50 Branch: sbin/restore RELENG_2_1_0 Modified: sbin/restore dirs.c extern.h interactive.c main.c tape.c Log: Bring back my OpenBSD patches, Guido's patches and the fix to Guido's patches into -stable: dirs (1.7) main.c (1.3,1.4) tape.c (1.5,1.6) exterm.h(1.3) interactive (1.2,1.3) Revision Changes Path 1.3.4.2 +35 -15 src/sbin/restore/dirs.c 1.1.1.1.6.1 +1 -1 src/sbin/restore/extern.h 1.1.1.1.6.1 +14 -7 src/sbin/restore/interactive.c 1.1.1.1.6.1 +8 -3 src/sbin/restore/main.c 1.3.4.1 +8 -3 src/sbin/restore/tape.c From owner-cvs-sbin Thu Feb 6 20:15:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA01463 for cvs-sbin-outgoing; Thu, 6 Feb 1997 20:15:42 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA01443; Thu, 6 Feb 1997 20:15:38 -0800 (PST) Date: Thu, 6 Feb 1997 20:15:38 -0800 (PST) From: Warner Losh Message-Id: <199702070415.UAA01443@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dump dumprmt.c main.c optr.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 97/02/06 20:15:36 Branch: sbin/dump RELENG_2_1_0 Modified: sbin/dump dumprmt.c main.c optr.c Log: Bring back the OpenBSD inspired fixes to dump. dumprmt.c (1.7) main.c (1.9) optr.c (1.4) Revision Changes Path 1.1.1.1.6.1 +6 -6 src/sbin/dump/dumprmt.c 1.3.4.2 +11 -3 src/sbin/dump/main.c 1.2.4.2 +2 -2 src/sbin/dump/optr.c From owner-cvs-sbin Thu Feb 6 22:20:11 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA08139 for cvs-sbin-outgoing; Thu, 6 Feb 1997 22:20:11 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA08130; Thu, 6 Feb 1997 22:20:08 -0800 (PST) Date: Thu, 6 Feb 1997 22:20:08 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199702070620.WAA08130@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/dump main.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 97/02/06 22:20:07 Branch: sbin/dump RELENG_2_1_0 Modified: sbin/dump main.c Log: Roll Peter's typo fix in. Revision Changes Path 1.3.4.3 +1 -1 src/sbin/dump/main.c From owner-cvs-sbin Fri Feb 7 05:38:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id FAA26294 for cvs-sbin-outgoing; Fri, 7 Feb 1997 05:38:49 -0800 (PST) Received: from nic.follonett.no (nic.follonett.no [194.198.43.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA26286; Fri, 7 Feb 1997 05:38:38 -0800 (PST) Received: (from uucp@localhost) by nic.follonett.no (8.8.5/8.8.3) with UUCP id OAA28465; Fri, 7 Feb 1997 14:37:05 +0100 (MET) Received: from oo7 (oo7.dimaga.com [192.0.0.65]) by dimaga.com (8.7.5/8.7.2) with SMTP id OAA07693; Fri, 7 Feb 1997 14:24:55 +0100 (MET) Message-Id: <3.0.32.19970207142455.00ba1150@dimaga.com> X-Sender: eivind@dimaga.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 07 Feb 1997 14:24:56 +0100 To: "Jordan K. Hubbard" From: Eivind Eklund Subject: Re: cvs commit: src/sbin/dump main.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 10:20 PM 2/6/97 -0800, Jordan K. Hubbard wrote: >jkh 97/02/06 22:20:07 > > Branch: sbin/dump RELENG_2_1_0 > Modified: sbin/dump main.c > Log: > Roll Peter's typo fix in. Can anybody see any reason for dump to be setuid at all? This is for binding to a low port for remote backups, but I really don't believe the convenience of letting users do this outweight the danger of there being more security holes in it. /sbin/restore is only setuid to be able to open /dev/tty to talk to the operator - for which I've written a patch that pick the tty device from stderr or stdout, and use that instead. Unless somebody can see something wrong with this approach, I'll commit it tomorrow. (Unless Warner beats me to it - I sent him a copy of the patch for review). For those interested in seeing that we don't break restore like OpenBSD did :) I'm reproducing the patch below. --- tape.c.orig Fri Feb 7 13:31:54 1997 +++ tape.c Fri Feb 7 13:31:21 1997 @@ -128,12 +128,17 @@ } else #endif if (strcmp(source, "-") == 0) { + char* ourtty; /* * Since input is coming from a pipe we must establish * our own connection to the terminal. */ - terminal = fopen(_PATH_TTY, "r"); - if (terminal == NULL) { + ourtty = ttyname(2); /* Find a tty at stderr? */ + if( !ourtty ) + ourtty = ttyname(1); /* Try stdout, then. */ + if( ourtty ) + terminal = fopen(ourtty, "r"); + if (ourtty == NULL || terminal == NULL) { (void)fprintf(stderr, "cannot open %s: %s\n", _PATH_TTY, strerror(errno)); terminal = fopen(_PATH_DEVNULL, "r"); Eivind Eklund perhaps@yes.no http://maybe.yes.no/perhaps/ eivind@freebsd.org From owner-cvs-sbin Fri Feb 7 17:33:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16191 for cvs-sbin-outgoing; Fri, 7 Feb 1997 17:33:39 -0800 (PST) Received: (from danny@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16180; Fri, 7 Feb 1997 17:33:37 -0800 (PST) Date: Fri, 7 Feb 1997 17:33:37 -0800 (PST) From: "Daniel O'Callaghan" Message-Id: <199702080133.RAA16180@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ping ping.8 ping.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk danny 97/02/07 17:33:37 Modified: sbin/ping ping.8 ping.c Log: Back out the 'audible' changes which went to the wrong branch. Revision Changes Path 1.3.2.2 +19 -6 src/sbin/ping/ping.8 1.8.2.5 +98 -41 src/sbin/ping/ping.c From owner-cvs-sbin Fri Feb 7 17:44:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16989 for cvs-sbin-outgoing; Fri, 7 Feb 1997 17:44:02 -0800 (PST) Received: (from danny@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA16963; Fri, 7 Feb 1997 17:43:59 -0800 (PST) Date: Fri, 7 Feb 1997 17:43:59 -0800 (PST) From: "Daniel O'Callaghan" Message-Id: <199702080143.RAA16963@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ping ping.8 ping.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk danny 97/02/07 17:43:58 Modified: sbin/ping ping.8 ping.c Log: Reviewed by: Gary Jennejohn Submitted by: Bruce Murphy Add '-a' audible flag, so terminal will beep upon receipt of a reply packet. Useful for debugging ethernet runs, among other things. Revision Changes Path 1.6 +4 -1 src/sbin/ping/ping.8 1.16 +8 -2 src/sbin/ping/ping.c From owner-cvs-sbin Fri Feb 7 20:11:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA22390 for cvs-sbin-outgoing; Fri, 7 Feb 1997 20:11:51 -0800 (PST) Received: (from danny@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA22381; Fri, 7 Feb 1997 20:11:45 -0800 (PST) Date: Fri, 7 Feb 1997 20:11:45 -0800 (PST) From: "Daniel O'Callaghan" Message-Id: <199702080411.UAA22381@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/ping ping.8 ping.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk danny 97/02/07 20:11:43 Branch: sbin/ping RELENG_2_2 Modified: sbin/ping ping.8 ping.c Log: Reviewed by: Gary jennejohn Submitted by: Bruce Murphy Add '-a' audible flag to 2.2, and fix up earlier confusion. Revision Changes Path 1.3.2.3 +6 -19 src/sbin/ping/ping.8 1.8.2.6 +41 -98 src/sbin/ping/ping.c From owner-cvs-sbin Sat Feb 8 04:27:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA09204 for cvs-sbin-outgoing; Sat, 8 Feb 1997 04:27:04 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id EAA08959; Sat, 8 Feb 1997 04:22:16 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA25265; Sat, 8 Feb 1997 13:22:15 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id MAA25888; Sat, 8 Feb 1997 12:59:40 +0100 (MET) Message-ID: Date: Sat, 8 Feb 1997 12:59:40 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: danny@freefall.freebsd.org (Daniel O'Callaghan) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org Subject: Re: cvs commit: src/sbin/ping ping.8 ping.c References: <199702080411.UAA22381@freefall.freebsd.org> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199702080411.UAA22381@freefall.freebsd.org>; from Daniel O'Callaghan on Feb 7, 1997 20:11:45 -0800 Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Daniel O'Callaghan wrote: > danny 97/02/07 20:11:43 > > Branch: sbin/ping RELENG_2_2 > Modified: sbin/ping ping.8 ping.c > Log: > Reviewed by: Gary jennejohn > Submitted by: Bruce Murphy > > Add '-a' audible flag to 2.2, and fix up earlier confusion. Umm. You shouldn't commit into release branches without prior permission. Also, this is an additional feature, not a bugfix, so it's even questionable whether it should have gone into 2.2 at all. (Now that you did the deed, don't back it out however.) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-sbin Sat Feb 8 08:52:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA19446 for cvs-sbin-outgoing; Sat, 8 Feb 1997 08:52:59 -0800 (PST) Received: (from nate@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA19439; Sat, 8 Feb 1997 08:52:57 -0800 (PST) Date: Sat, 8 Feb 1997 08:52:57 -0800 (PST) From: Nate Williams Message-Id: <199702081652.IAA19439@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/fsck dir.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 97/02/08 08:52:56 Branch: sbin/fsck RELENG_2_1_0 Modified: sbin/fsck dir.c Log: Bring in fsck fix from -current, which has been running safely on my 2.1 boxes since it was submitted. The following small diff fixes the annoying fsck bug that causes it to need to be run twice to end up with correct reference counts for inodes for directories that had subdirectories relocated into the lost+found directory. Revision Changes Path 1.5.4.1 +11 -1 src/sbin/fsck/dir.c From owner-cvs-sbin Sat Feb 8 15:24:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA06827 for cvs-sbin-outgoing; Sat, 8 Feb 1997 15:24:15 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA06820; Sat, 8 Feb 1997 15:24:13 -0800 (PST) Date: Sat, 8 Feb 1997 15:24:13 -0800 (PST) From: Wolfram Schneider Message-Id: <199702082324.PAA06820@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/md5 Makefile Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 97/02/08 15:24:12 Modified: sbin/md5 Makefile Log: /usr/lib/libmd.a -> ${LIBMD} Revision Changes Path 1.2 +1 -1 src/sbin/md5/Makefile