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

Borislav Petkov <[email protected]> Wed, 22 Nov 2023 15:07:10 +0100
Newsgroups org.kernel.vger.initramfs,dev.linux.lists.regressions,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel
Message-ID <20231122140710.GDZV4LDmgF9lXtXdDZ@fat_crate.local>
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