lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 Jul 2007 17:42:49 -0700 (PDT)
From:	Roland McGrath <>
To:	Jeremy Fitzhardinge <>
Cc:	Andrew Morton <>,
	Linus Torvalds <>,
Subject: Re: [PATCH 6/7] Add /sys/kernel/notes

> Is .notes an allocated section?  I didn't think it necessarily appeared 
> in any of the PT_LOAD segments, because the linux/elfnote.h macros don't 
> necessarily set "a" on the section.

The earlier patches in this series change the linker script to place it
appropriately and set the phdr.  It's allocated when its input sections are
allocated.  Current builds I've seen don't have any input note sections at
all.  My motivation is for the ld --build-id support, which generates an
allocated note section as if it were input.

> I have a patch to always do this, and also convert all the note 
> generation to C code rather than asm.  If your patch works for you, 
> however, it should be completely orthogonal.

What note generation do you mean?  The only explicit notes in asm that I
know of are in the vDSO images, not in vmlinux.  This patch has nothing to
do with any vDSO image's generation.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists