From owner-cvs-usrsbin Sun Jul 13 04:52:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA15596 for cvs-usrsbin-outgoing; Sun, 13 Jul 1997 04:52:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA15572; Sun, 13 Jul 1997 04:52:18 -0700 (PDT) From: Guido van Rooij Received: (from guido@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id EAA09333; Sun, 13 Jul 1997 04:51:43 -0700 (PDT) Date: Sun, 13 Jul 1997 04:51:43 -0700 (PDT) Message-Id: <199707131151.EAA09333@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/iostat Makefile src/usr.bin/netstat Makefile src/usr.sbin/pciconf Makefile src/usr.sbin/pstat Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 1997/07/13 04:51:43 PDT Modified files: usr.sbin/iostat Makefile Log: Remove -I/sys and add -I${.CURDIR}/../../sys Revision Changes Path 1.3 +1 -1 src/usr.sbin/iostat/Makefile Modified files: usr.bin/netstat Makefile usr.sbin/pciconf Makefile usr.sbin/pstat Makefile Log: Remove -I/sys Revision Changes Path 1.8 +1 -1 src/usr.bin/netstat/Makefile 1.4 +0 -1 src/usr.sbin/pciconf/Makefile 1.4 +0 -1 src/usr.sbin/pstat/Makefile From owner-cvs-usrsbin Sun Jul 13 07:48:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA21189 for cvs-usrsbin-outgoing; Sun, 13 Jul 1997 07:48:34 -0700 (PDT) Received: from gvr.win.tue.nl (root@gvr.win.tue.nl [194.151.74.97]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA21168; Sun, 13 Jul 1997 07:48:23 -0700 (PDT) Received: (from guido@localhost) by gvr.win.tue.nl (8.8.6/8.8.2) id QAA02975; Sun, 13 Jul 1997 16:48:20 +0200 (MET DST) From: Guido van Rooij Message-Id: <199707131448.QAA02975@gvr.win.tue.nl> Subject: Re: cvs commit: src/usr.sbin/iostat Makefile src/usr.bin/netstat Makefile src/usr.sbin/pciconf Makefile src/usr.sbin/pstat M In-Reply-To: <199707131151.EAA09333@freefall.freebsd.org> from Guido van Rooij at "Jul 13, 97 04:51:43 am" To: guido@FreeBSD.ORG (Guido van Rooij) Date: Sun, 13 Jul 1997 16:48:20 +0200 (MET DST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk There are many more of these, and I want to fix these. I am not certain about the libs however (see below). (the pcvt/fed is not important as it is not included in the make process) I'd like to delete all of the -I/sys and replace all of the others by s|/sys|${.CURDIR}/../../sys|g Any objections? -Guido ./bin/ps/Makefile:CFLAGS+=-I/sys ./eBones/lib/libtelnet/Makefile:CFLAGS+= -DDES_ENCRYPTION -DAUTHENTICATION -DKRB 4 -I/usr/include/kerberosIV ./lib/libipx/Makefile:#CFLAGS+=-DLIBC_SCCS -I/sys ./lib/libkvm/Makefile:CFLAGS+=-DLIBC_SCCS -I/sys ./lib/libscsi/Makefile:#CFLAGS+=-DLIBC_SCCS -I/sys ./lib/libutil/Makefile:CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I/sys ./libexec/lfs_cleanerd/Makefile:CFLAGS+=-I/sys/ufs/lfs -I${.CURDIR} ${DEBUG} ./release/sysinstall/Makefile:CFLAGS+= -Wall -I${.CURDIR}/../../gnu/lib/libdialo g -I${.OBJDIR} -I/sys ./sbin/dumplfs/Makefile:CFLAGS+=-I/sys/ufs/lfs ./usr.bin/fstat/Makefile:CFLAGS+=-I/sys ./usr.bin/mt/Makefile:CFLAGS+=-I/sys eebsd/5.003/CORE ./usr.sbin/pcvt/fed/Makefile:CFLAGS = -O -Wall -pipe -I/usr/local/incl From owner-cvs-usrsbin Sun Jul 13 18:42:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA19882 for cvs-usrsbin-outgoing; Sun, 13 Jul 1997 18:42:46 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA19855; Sun, 13 Jul 1997 18:42:19 -0700 (PDT) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id SAA29336; Sun, 13 Jul 1997 18:41:38 -0700 (PDT) Date: Sun, 13 Jul 1997 18:41:38 -0700 (PDT) Message-Id: <199707140141.SAA29336@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp chat.c command.c modem.c ppp.8 vars.h Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/07/13 18:41:37 PDT Modified files: usr.sbin/ppp chat.c command.c modem.c ppp.8 vars.h Log: Allow a "hangup" capability. You can now "ATZ" your modem when it's closed. Submitted by: peter@citylink.dinoex.sub.org (Peter Much) Revision Changes Path 1.29 +4 -1 src/usr.sbin/ppp/chat.c 1.67 +8 -1 src/usr.sbin/ppp/command.c 1.45 +16 -4 src/usr.sbin/ppp/modem.c 1.45 +6 -1 src/usr.sbin/ppp/ppp.8 1.20 +3 -1 src/usr.sbin/ppp/vars.h From owner-cvs-usrsbin Mon Jul 14 08:11:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA25914 for cvs-usrsbin-outgoing; Mon, 14 Jul 1997 08:11:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA25877; Mon, 14 Jul 1997 08:11:20 -0700 (PDT) From: Guido van Rooij Received: (from guido@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id IAA14717; Mon, 14 Jul 1997 08:10:35 -0700 (PDT) Date: Mon, 14 Jul 1997 08:10:35 -0700 (PDT) Message-Id: <199707141510.IAA14717@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pciconf Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 1997/07/14 08:10:35 PDT Modified files: usr.sbin/pciconf Makefile Log: Unbreak it. Apparently I forgot to do a make clean when testing :-( Unfortunately, Makefile is not included in .depend. Revision Changes Path 1.5 +1 -0 src/usr.sbin/pciconf/Makefile From owner-cvs-usrsbin Mon Jul 14 12:58:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA10931 for cvs-usrsbin-outgoing; Mon, 14 Jul 1997 12:58:58 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA10907; Mon, 14 Jul 1997 12:58:37 -0700 (PDT) From: Bill Paul Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA15747; Mon, 14 Jul 1997 12:57:51 -0700 (PDT) Date: Mon, 14 Jul 1997 12:57:51 -0700 (PDT) Message-Id: <199707141957.MAA15747@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pciconf Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 1997/07/14 12:57:51 PDT Modified files: usr.sbin/pciconf Makefile Log: Unbreak this file some more: CFLAGS=+-I${.CURDIR}/../../sys -> CFLAGS+= -I${.CURDIR}/../../sys Asked about on BSDnet:#FreeBSD by: philw@dream.webmaster.com (Phillip White) Revision Changes Path 1.6 +1 -1 src/usr.sbin/pciconf/Makefile From owner-cvs-usrsbin Tue Jul 15 00:04:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA10642 for cvs-usrsbin-outgoing; Tue, 15 Jul 1997 00:04:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA10555; Tue, 15 Jul 1997 00:03:52 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA26840; Tue, 15 Jul 1997 00:03:01 -0700 (PDT) Date: Tue, 15 Jul 1997 00:03:01 -0700 (PDT) Message-Id: <199707150703.AAA26840@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pstat Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/07/15 00:03:01 PDT Modified files: usr.sbin/pstat Makefile Log: Previous commit to remove -I/sys broke 'make world', miscfs/union/*.h is not (yet?) installed in /usr/include. Revision Changes Path 1.5 +1 -0 src/usr.sbin/pstat/Makefile From owner-cvs-usrsbin Thu Jul 17 22:38:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA00553 for cvs-usrsbin-outgoing; Thu, 17 Jul 1997 22:38:50 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA00358; Thu, 17 Jul 1997 22:33:06 -0700 (PDT) From: David Nugent Received: (from davidn@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id WAA26717; Thu, 17 Jul 1997 22:31:52 -0700 (PDT) Date: Thu, 17 Jul 1997 22:31:52 -0700 (PDT) Message-Id: <199707180531.WAA26717@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/cron/cron Makefile do_command.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 1997/07/17 22:31:52 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/cron/cron Makefile do_command.c Log: MFC: missed user class additions and buffer overflow fixes. Revision Changes Path 1.6.2.1 +4 -0 src/usr.sbin/cron/cron/Makefile 1.6.2.1 +34 -11 src/usr.sbin/cron/cron/do_command.c From owner-cvs-usrsbin Fri Jul 18 05:11:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA17748 for cvs-usrsbin-outgoing; Fri, 18 Jul 1997 05:11:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA17616; Fri, 18 Jul 1997 05:07:01 -0700 (PDT) From: Wolfram Schneider Received: (from wosch@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA29651; Fri, 18 Jul 1997 05:05:44 -0700 (PDT) Date: Fri, 18 Jul 1997 05:05:44 -0700 (PDT) Message-Id: <199707181205.FAA29651@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/adduser adduser.perl Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 1997/07/18 05:05:44 PDT Modified files: usr.sbin/adduser adduser.perl Log: `cp -r' -> `cp -R' Option -r is obsolete and buggy. Revision Changes Path 1.32 +2 -2 src/usr.sbin/adduser/adduser.perl From owner-cvs-usrsbin Fri Jul 18 11:36:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA08670 for cvs-usrsbin-outgoing; Fri, 18 Jul 1997 11:36:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA08517; Fri, 18 Jul 1997 11:34:39 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA15722; Fri, 18 Jul 1997 11:33:20 -0700 (PDT) Date: Fri, 18 Jul 1997 11:33:20 -0700 (PDT) Message-Id: <199707181833.LAA15722@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/common_source rmjob.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 1997/07/18 11:33:19 PDT Modified files: usr.sbin/lpr/common_source rmjob.c Log: Fix a problem where remote files could be removed by exploiting race conditions similar to those reported in CERT's CA-91:10a advisory. Obtained from: Hiroshi NAKANO by way of CERT. Revision Changes Path 1.5 +2 -0 src/usr.sbin/lpr/common_source/rmjob.c From owner-cvs-usrsbin Fri Jul 18 11:40:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA08937 for cvs-usrsbin-outgoing; Fri, 18 Jul 1997 11:40:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA08754; Fri, 18 Jul 1997 11:37:50 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA15773; Fri, 18 Jul 1997 11:36:31 -0700 (PDT) Date: Fri, 18 Jul 1997 11:36:31 -0700 (PDT) Message-Id: <199707181836.LAA15773@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/common_source rmjob.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 1997/07/18 11:36:30 PDT Modified files: (Branch: RELENG_2_2) usr.sbin/lpr/common_source rmjob.c Log: MFC: 1.5: unlink protection Revision Changes Path 1.4.2.1 +2 -0 src/usr.sbin/lpr/common_source/rmjob.c From owner-cvs-usrsbin Fri Jul 18 11:43:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA09189 for cvs-usrsbin-outgoing; Fri, 18 Jul 1997 11:43:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA09032; Fri, 18 Jul 1997 11:41:15 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA15818; Fri, 18 Jul 1997 11:39:57 -0700 (PDT) Date: Fri, 18 Jul 1997 11:39:57 -0700 (PDT) Message-Id: <199707181839.LAA15818@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/common_source rmjob.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 1997/07/18 11:39:57 PDT Modified files: (Branch: RELENG_2_1_0) usr.sbin/lpr/common_source rmjob.c Log: MFC: 1.5: unlink protection Revision Changes Path 1.1.1.1.6.1 +2 -0 src/usr.sbin/lpr/common_source/rmjob.c From owner-cvs-usrsbin Fri Jul 18 11:56:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA09975 for cvs-usrsbin-outgoing; Fri, 18 Jul 1997 11:56:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA09846; Fri, 18 Jul 1997 11:54:13 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id LAA15879; Fri, 18 Jul 1997 11:52:55 -0700 (PDT) Date: Fri, 18 Jul 1997 11:52:55 -0700 (PDT) Message-Id: <199707181852.LAA15879@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/common_source common.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 1997/07/18 11:52:54 PDT Modified files: usr.sbin/lpr/common_source common.c Log: Add code to make sure that we don't overflow the buffer that we copy the hostname into. In theory the bind library should do this, but in practice the limites between system defines and bind defines make an attack using this vector possible. These patches have been in use on my systems for three months now, so I am fairly confident about them. I plan on commiting this to 2.2 and 2.1 in the near future, as well as many other patches of this nature. Revision Changes Path 1.5 +4 -1 src/usr.sbin/lpr/common_source/common.c