> More seriously, I suggest you document this, and (if possible) encode
> the real kernel version somewhere.
I'll see if it works as version 90002.0.39 or 999.2.0.39 or something else
that will give some inherent visual clue as to what the version really is.
PS, if anyone else cares how to do this, it is slightly tricky since many
things care at compile-time what the version is. The way I got it to work:
1) Edit Makefile to have the higher version, start the make, then save off
the resulting version.h file in include/linux.
2) Edit the Makefile back to the real version, start the make, save off
this resulting version.h file also.
3) Edit the makefile, *comment out the logic that initializes version.h*.
4) Manually combine them into a file with the linux version code from the
correct version and the uts release from the fake one:
#define UTS_RELEASE "9.9.99"
#define LINUX_VERSION_CODE 131111
UTS_RELEASE is what the RedHad glibc will see at run time,
LINUX_VERSION_CODE is the one that compile-time switches care about.
-Tom