Linus> Reverted - it's better to get a compile-time error than then at
Linus> run-time get a non-working binfmt_misc and sit there wondering what
Linus> the h*ll happened.. Let us not forget that compile-time errors may
Linus> be embarrassing, but they are still a hell of a lot better than
Linus> bad run-time behaviour.
Ok. But I hope you wouldn't mind inserting into binfmt_misc something that
does:
#ifndef CONFIG_PROC_FS
#error You really need /proc support for binfmt_misc. Please reconfigure!
#endif
In my opinion, it is always nicer to #error than to let GCC give some
obscure message, AND it gives some (=my) testing-tools a chance to know that
this is a known illegal configuration.
BTW: Since this is your opinion, you might want to change the #warning in
drivers/block/ide.c line 2754 into an #error, for the same reasons.
About why not having /proc: According to Alan's buglist, there are some
issues meaning that you don't want /proc if you can consider your users
hostile (for example students on a university computer). Dummy-functions for
config_proc_fs will cure this ofcourse.
Greetings,
Arjan van de Ven
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/