From owner-freebsd-security Tue Aug 21 15:30:23 2001 Delivered-To: freebsd-security@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 34CB137B405 for ; Tue, 21 Aug 2001 15:30:19 -0700 (PDT) (envelope-from dfrazier@magpage.com) Received: from magpage.com (dfrazier@poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.3/8.11.3) with ESMTP id f7LMUBw58979; Tue, 21 Aug 2001 18:30:11 -0400 (EDT) Message-ID: <3B82E0F3.1080502@magpage.com> Date: Tue, 21 Aug 2001 18:30:11 -0400 From: Daniel Frazier User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010807 X-Accept-Language: en-us MIME-Version: 1.0 To: David Kirchner Cc: freebsd-security@FreeBSD.ORG Subject: Re: question about procfs advisory... References: <20010821140526.I38221-100000@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-RRT-Status: UNKNOWN Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org David Kirchner wrote: > I did patch -p0 < /path/to/patch and it worked fine for my 4.2 boxes. > isn't -p0 the same as -p? regardless, patch still prompts me for a file to patch. alaska:~# cd /usr/src/sys alaska:/usr/src/sys# patch -p0 < ~/procfs.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: sys/i386/linux/linprocfs/linprocfs_vnops.c |=================================================================== |RCS file: /usr2/ncvs/src/sys/i386/linux/linprocfs/Attic/linprocfs_vnops.c,v |retrieving revision 1.3.2.4 |retrieving revision 1.3.2.5 |diff -u -r1.3.2.4 -r1.3.2.5 |--- sys/i386/linux/linprocfs/linprocfs_vnops.c 2001/06/25 19:46:47 1.3.2.4 |+++ sys/i386/linux/linprocfs/linprocfs_vnops.c 2001/08/12 14:29:19 1.3.2.5 -------------------------- File to patch: > On Tue, 21 Aug 2001, Daniel Frazier wrote: > > >>in section V.2 it says... >> >># cd /usr/src/sys >># patch -p < /path/to/patch >> >> >>...but when I do so patch cannot find the files to patch. Should that >>have been... >> >># cd /usr/src/ >> >>...instead? >> >> >> >> -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message