Re: bogous binfmt_misc patch in 2.2.0-pre1

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sat, 02 Jan 1999 13:40:05 -0400


Linus Torvalds <torvalds@transmeta.com> said:

[...]

> So what I suggested as the real fix is to leave the internal /proc
> interfaces there even if /proc doesn't actually exist: that way, when
> somebody disables /proc in the config, everything else will still happily
> compile as if it was there, it just won't do anything.
>
> Yes, it might cause a few unnecessary functions to be compiled that aren't
> actually ever used and thus wasting a few hundred bytes of memory, but I'd
> _much_ prefer a clean kernel that doesn't have to worry about spurious
> config options all over the place.

Just #define them to empty or (<some magic constant>) then in the affected
*.h files.

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

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