[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Paxtest results with default Grsec2 aren't impressive



Hi,

> I run: /usr/src# patch -p0 < grsecurity-2.2.2-3.0.4-201109150655.patch

You have /usr/src set as the working directory. Change it
to /usr/src/linux-2.6-3.0.0 (or whatever your kernel source resides in)
and run:

patch -p1 -i ../grsecurity-2.2.2-3.0.4-201109150655.patch

Failure is still possible if the relevant parts of the source mismatch.
I recommend the --dry-run option first, to see whether the patch applies
at all (and not ending with a messed up, partially patched source tree
if not).

Best regards,
Holger



Reply to: