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

From: Ingo Molnar
Date: Mon Nov 11 2013 - 15:43:45 EST



* 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 ;-)

Thanks,

Ingo
--
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/