]> git.neil.brown.name Git - history.git/commit
kbuild: Enforce UTS limit, use LANG=C for date/time
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Thu, 6 Jun 2002 05:09:52 +0000 (00:09 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Thu, 6 Jun 2002 05:09:52 +0000 (00:09 -0500)
commit561e79b059e0a06dea7bc216641626fdfad099fb
treed79902a82fb7b31eb512ce75eefe76668d4c4eef
parent053cf0e6f510251a6fd6ffaf58c1f0b1d32ce08a
kbuild: Enforce UTS limit, use LANG=C for date/time

Patch by Keith Owens, ported to 2.5.

If the length of $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
exceeds 64 characters it silently corrupts the utsname data, resulting
in garbage for uname -r and problems running the kernel and modules.
Abort if KERNELRELEASE is too long.  Truncation is not good enough, it
results in ambiguous /lib/modules/`uname -r` contents.

Ensure that the date/time in uname are always in LANG=C.  Users with
other languages report that 8 bit values cause the boot messages to go
haywire.
Makefile
init/Makefile
scripts/mkcompile_h