From: Roland McGrath Date: Wed, 17 Oct 2007 06:26:40 +0000 (-0700) Subject: Add /sys/module/name/notes X-Git-Tag: v2.6.24-rc1~730 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d76013381ed28979cd122eb4b249a88b5e384fa;p=pandora-kernel.git Add /sys/module/name/notes This patch adds the /sys/module//notes/ magic directory, which has a file for each allocated SHT_NOTE section that appears in .ko. This is the counterpart for each module of /sys/kernel/notes for vmlinux. Reading this delivers the contents of the module's SHT_NOTE sections. This lets userland easily glean any detailed information about that module's build that was stored there at compile time (e.g. by ld --build-id). Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed