Page 1 of 1

Patching Kernels

PostPosted: Mon May 20, 2002 2:26 pm
by hytron
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?

Re: Patching Kernels

PostPosted: Mon May 20, 2002 4:54 pm
by sniper
i have experienced some problems using cat - might be because of long lines;


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

sniper