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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Roland McGrath <roland@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>
Date: Wednesday, July 11, 2007 - 6:17 pm

On Wed, 11 Jul 2007, Roland McGrath wrote:

Ok, that doesn't sound bad. Is the "note" something global for the whole 
thing, or are there per-object file notes that you can parse (ie can you 
figure out which modules are linked in some way?)

If it's basically just a set of hashes, I won't worry.


Yah. Not that we generally do perfectly here, but that's the kind of thing 
I'd prefer.


Is there any reason for it to be readable by anybody but the sysadmin? 
It's not like you're likely to do things like kernel debugging without 
root privileges?

So if the *common* thing is that normally people have root who really 
care, and the distro could (if it wants to) just chmod the /sysfs file 
appropriately, maybe that would allow the best of both worlds? Just 
default to it being root-readable, but let the distro override it at 
boot-time?

		Linus
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 6/7] Add /sys/kernel/notes, Roland McGrath, (Wed Jul 11, 3:04 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Andrew Morton, (Wed Jul 11, 7:45 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Roland McGrath, (Wed Jul 11, 8:37 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Jeremy Fitzhardinge, (Wed Jul 11, 7:57 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Roland McGrath, (Wed Jul 11, 8:42 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Jeremy Fitzhardinge, (Wed Jul 11, 10:41 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Linus Torvalds, (Wed Jul 11, 3:16 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Roland McGrath, (Wed Jul 11, 4:51 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Linus Torvalds, (Wed Jul 11, 5:45 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Roland McGrath, (Wed Jul 11, 6:04 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Linus Torvalds, (Wed Jul 11, 6:17 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Roland McGrath, (Wed Jul 11, 6:42 pm)
Re: [PATCH 6/7] Add /sys/kernel/notes, Linus Torvalds, (Wed Jul 11, 6:48 pm)