Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unknown elf note type



On Fri, Oct 16, 2026 at 09:37:41AM +0200, Thomas Klausner wrote:
> Displaying notes found in: .note.dlopen
>   Owner                Data size        Description
>   FDO                  0x0000007a       FDO_DLOPEN_METADATA
>     Dlopen Metadata: [{"feature":"random-sort","description":"Support for random sorting","priority":"required","soname":["libcrypto.so.16"]}]
> 
> Just running 'gsort' or 'gsort -R' (the random-sort option) on a file
> doesn't trigger the dmesg warning though.

The message comes from the kernel:

https://nxr.netbsd.org/xref/src/sys/kern/exec_elf.c#1106

but in line 1088 this note should have been silenced already.

and the definition in

https://nxr.netbsd.org/xref/src/sys/sys/exec_elf.h#1219

looks correct to me, so it is not obvious why you do see the print.

Martin
P.S.: the idea to include this kind of JSON data in an ELF note is ************



Home | Main Index | Thread Index | Old Index