svn commit: r351723 - head/sys/compat/linux

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Sep 2 18:10:36 UTC 2019


Author: trasz
Date: Mon Sep  2 18:10:35 2019
New Revision: 351723
URL: https://svnweb.freebsd.org/changeset/base/351723

Log:
  Bump Linux version to 3.2.0.  Without it, binaries linked against
  glibc 2.24 and up (eg Ubuntu 19.04) fail with "FATAL: kernel too old".
  
  This alone is not enough to make newer binaries actually work;
  fix/hack/workaround is pending review at https://reviews.freebsd.org/D20687.
  
  Reviewed by:	emaste
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D20757

Modified:
  head/sys/compat/linux/linux_mib.h

Modified: head/sys/compat/linux/linux_mib.h
==============================================================================
--- head/sys/compat/linux/linux_mib.h	Mon Sep  2 17:55:39 2019	(r351722)
+++ head/sys/compat/linux/linux_mib.h	Mon Sep  2 18:10:35 2019	(r351723)
@@ -46,9 +46,9 @@ int	linux_get_oss_version(struct thread *td);
 
 int	linux_kernver(struct thread *td);
 
-#define	LINUX_KVERSION		2
-#define	LINUX_KPATCHLEVEL	6
-#define	LINUX_KSUBLEVEL		36
+#define	LINUX_KVERSION		3
+#define	LINUX_KPATCHLEVEL	2
+#define	LINUX_KSUBLEVEL		0
 
 #define	LINUX_KERNVER(a,b,c)	(((a) << 16) + ((b) << 8) + (c))
 #define	LINUX_VERSION_CODE	LINUX_KERNVER(LINUX_KVERSION,		\


More information about the svn-src-head mailing list