Re: [PATCH -v1.1] Kbuild: Ignore GREP_OPTIONS env variable

From: Borislav Petkov
Date: Mon Nov 11 2013 - 15:59:15 EST


On Mon, Nov 11, 2013 at 09:43:30PM +0100, Ingo Molnar wrote:
> * Michal Marek <mmarek@xxxxxxx> wrote:
> > On Mon, Nov 11, 2013 at 03:27:43PM +0100, Borislav Petkov wrote:
> > > From: Borislav Petkov <bp@xxxxxxx>
> > > Subject: [PATCH] Kbuild: Ignore GREP_OPTIONS env variable
> > >
> > > When building the kernel in a shell which defines GREP_OPTIONS so that
> > > grep behavior is modified, we can break the generation of the syscalls
> > > table like so:
> > >
> > > __SYSCALL_COMMON(0, sys_read, sys_read)
> > > __SYSCALL_COMMON(1, sys_write, sys_write)
> > > __SYSCALL_COMMON(10, sys_mprotect, sys_mprotect) ...
> >
> > The email had literal escape sequences and git am preserved them, so git
> > show displayed red zeros and onces. [..]
>
> Neat trick if it was intentionally!
>
> > [...] That was quite scary, [...]
>
> Scary if it was unintentional ;-)

Yeah, all our computers are bleeding :-) Well, I sent the first version
on the evening before Helloween...

<scary music playing, an old door is creaking...>

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/