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

From: Linus Torvalds
Date: Wed Jul 11 2007 - 15:17:32 EST




On Wed, 11 Jul 2007, 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.

Umm. You seem to make it readable by everybody. That's a mistake, I think.
I don't know if there is anything security-conscious there, but just on
general principles, I don't think we really would want normal users
reading kernel configuration info, no?

Linus
-
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/