Date: Tue, 21 Aug 2001 18:30:11 -0400 From: Daniel Frazier <dfrazier@magpage.com> To: David Kirchner <davidk@accretivetg.com> Cc: freebsd-security@FreeBSD.ORG Subject: Re: question about procfs advisory... Message-ID: <3B82E0F3.1080502@magpage.com> References: <20010821140526.I38221-100000@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <dfrazier@magpage.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B82E0F3.1080502>