On Mon, Dec 11, Linus Torvalds wrote: > > > On Mon, 11 Dec 2006, Olaf Hering wrote: > > > > Hmm, even moving this to linux_banner doesnt work, just because > > __initdata is in a different section. > > Heh. Let's just change the "version_read_proc" string to not trigger. > > Something like this instead (which replaces the "Linux" with "%s" in > /proc, and just takes it from "utsname()->sysname" instead. So now you can > lie and call yourself "OS X" in your virtual partition if you want to ;)
Yes, that works. Thanks. And if I'm really bored, I will dig up the reason why the very same binary has to identify itself with different kernelreleases. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/