Re: [PATCH 1/3] Security: Add disablenetwork interface. (v4)

From: Pavel Machek
Date: Wed Dec 30 2009 - 05:09:52 EST



> Pavel Machek wrote:
> >>index 26a6b73..b48f021 100644
> >>--- a/kernel/sys.c
> >>+++ b/kernel/sys.c
> >>@@ -35,6 +35,7 @@
> >> #include <linux/cpu.h>
> >> #include <linux/ptrace.h>
> >> #include <linux/fs_struct.h>
> >>+#include <linux/prctl_network.h>
> >>
> >> #include <linux/compat.h>
> >> #include <linux/syscalls.h>
> >
> >Something seems to be wrong with whitespace here. Damaged patch?
>
> Nope; kernel/sys.c has a newline there:
>
> http://repo.or.cz/w/linux-2.6.git/blob/HEAD:/kernel/sys.c#l36
>
> Shall I remove it?

notice two spaces before include. something was definitely wrong there.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/