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

H. Peter Anvin
2009-01-13T18:55:07Z

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.