Re: [PATCH] x86: Add a "x86" ELF note namespace

From: Borislav Petkov
Date: Wed Nov 22 2023 - 09:07:34 EST


On Wed, Nov 22, 2023 at 02:24:43PM +0100, Borislav Petkov wrote:
> Displaying notes found in: .notes
> Owner Data size Description
> ...
> x86 0x00000004 Unknown note type: (0x00000000)
> description data: 01 00 00 00
> ^^^^^^^^^^^^^^

Note to self: since this is a u32, the next version should define that
only the 1st bit is valid and the rest are reserved. So that they can be
used as a bitfield in case something more needs to be communicated in
the future and we don't waste a whole u32 just for one bit of
information...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette