From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5617 invoked from network); 26 Oct 1999 14:56:17 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Oct 1999 14:56:17 -0000 Received: from theshell.com (qmailr@arsenic.theshell.com [209.77.122.5]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id KAA30874 for ; Tue, 26 Oct 1999 10:56:15 -0400 Received: (qmail 30831 invoked by uid 584); 26 Oct 1999 14:55:16 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 26 Oct 1999 14:55:16 -0000 Date: Tue, 26 Oct 1999 07:55:16 -0700 (PDT) From: Dan Frasnelli X-Sender: dfrasnel@arsenic.theshell.com To: "'axp-list@redhat.com'" Subject: Re: applying a patch In-Reply-To: <07E164D341EED111ADCD0000F8662F4A07221C21@pioushqntmail2.pios.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > I will likely get beaten for the simplicity of this - but how do I apply a > kernel patch? Point me to the appropriate how-to (kernel??) & I'm off and > running... http://metalab.unc.edu/pub/Linux/docs/HOWTO/Kernel-HOWTO > I understand the (likely) syntax as "patch -pnum < 'patchfile'" - > but where & when do I patch from? Do I patch the source & then compile or is > a patch for a compiled kernel? I'd be very wary of a binary patch for any executable, even moreso the kerne. I keep kernel patches in their own directory under /usr/src/, with /usr/src/linux/ a symbolic link to whichever kernel I'm working on. The usual sequence of events is: cd /usr/src/linux/ patch -p1 < ../patches/patch-foo All of this should be covered in the HOWTO mentioned above. Let me know if you need help with building a kernel. -- Dan Frasnelli Security analyst