Re: [PATCH 6/7] Add /sys/kernel/notes

From: Jeremy Fitzhardinge
Date: Wed Jul 11 2007 - 20:09:48 EST


Roland McGrath wrote:
This patch adds the /sys/kernel/notes magic file. Reading this delivers
the contents of the kernel's .notes section. This lets userland easily
glean any detailed information about the running kernel's build that was
stored there at compile time.

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.

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.

J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/