Patching Kernels

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Patching Kernels

Postby hytron » Mon May 20, 2002 2:26 pm

Hi guys,

This might not be direct question that should go here, but someone might give me a quick answer. :)

What is the difference between
patch -p0 < grsecurity-1.9.4-2.4.18.patch
and
cat grsecurity-1.9.4-2.4.18.patch | patch -p0

I have heared that using "cat" is not as good as the first command, since it can mess up long lines in the patch. Is that true?
hytron
 
Posts: 7
Joined: Mon May 20, 2002 2:20 pm

Re: Patching Kernels

Postby sniper » Mon May 20, 2002 4:54 pm

i have experienced some problems using cat - might be because of long lines;


use the patch -p0 < ..... instead! good style!

sniper
sniper
 
Posts: 2
Joined: Tue May 14, 2002 8:26 am


Return to grsecurity support