public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_* used by user-space to figure out whether a feature is on/off
@ 2013-07-15 15:40 Konrad Rzeszutek Wilk
  2013-07-15 17:02 ` Greg KH
  2013-07-15 17:17 ` Linus Torvalds
  0 siblings, 2 replies; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-07-15 15:40 UTC (permalink / raw)
  To: Linus Torvalds, linux-kernel

Hey Linus,

I am hoping you can help me draw an understanding and a line in sand whether:
 a) Tools should not depend on /proc/config.gz to figure out whether
    a kernel has some CONFIG_X=y feature.

 b) If they are OK to do so, what do we do when certain CONFIG_X options
    get reworked/removed. Would they be considered regressions? Aka
    is this similar to 'you shall not break user-space'?


Irrespective of that, do you have any ideas of how a user-space program (say GRUB)
can figure out whether the configuration stanze it generates is supported by
the kernel. If you don't want to answer this question - since this might
open a can of worms you prefer not to deal with - that is absolutly OK.

Folks have been tossing ideas such as:
 - Let the user deal with it and if it does not boot - oh well.
 - readelf or objdump.
 - use /boot/config-<kernel>-<version> as most (all?) distros stick that in
   there.

Thanks!

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-07-16  0:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-15 15:40 CONFIG_* used by user-space to figure out whether a feature is on/off Konrad Rzeszutek Wilk
2013-07-15 17:02 ` Greg KH
2013-07-15 17:24   ` Konrad Rzeszutek Wilk
2013-07-15 17:46     ` Linus Torvalds
2013-07-15 18:02       ` Konrad Rzeszutek Wilk
2013-07-15 18:25         ` Paul Bolle
2013-07-15 19:03           ` Konrad Rzeszutek Wilk
2013-07-15 19:13             ` Paul Bolle
2013-07-15 17:17 ` Linus Torvalds
2013-07-16  0:46   ` Raymond Jennings
2013-07-16  0:53     ` Linus Torvalds
2013-07-16  0:57       ` Raymond Jennings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox