Re: [PATCH -tip] x86: headers - fix export private data to userspace

From: H. Peter Anvin
Date: Tue Jan 13 2009 - 13:55:08 EST


Cyrill Gorcunov wrote:
>
> I was concerning more about lilo side, is it use this param.
> So here is a link
>
> http://lists.linuxcoding.com/kernel/2006-q3/msg18665.html
>
> is seems LILO has it's own definition for COMMAND_LINE_SIZE.
> On the other hand it touches boot protocol. Peter should know
> if it safe to hide/change COMMAND_LINE_SIZE. Peter?
>

Current x86 kernels export the command line size through the bzImage
header, and as such COMMAND_LINE_SIZE should not be used by userspace.

I can't speak for other architectures.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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