diff options
author | Jean-Marc Lenoir | 2020-08-08 18:20:38 +0200 |
---|---|---|
committer | Jean-Marc Lenoir | 2020-08-08 18:20:38 +0200 |
commit | 9a8ec2ba408963d380ce179e245315ebf57a1e8a (patch) | |
tree | 943cf8250d9850bf5260cdc87bb9d2a586d678a5 /vmmon.patch | |
parent | ce131ff1d759f837d486d14fe0d7da9b0af35572 (diff) | |
download | aur-9a8ec2ba408963d380ce179e245315ebf57a1e8a.tar.gz |
Prevent VMware to run on Linux>=5.8
Diffstat (limited to 'vmmon.patch')
-rw-r--r-- | vmmon.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vmmon.patch b/vmmon.patch index 0d515e717502..c3b47e9c4d02 100644 --- a/vmmon.patch +++ b/vmmon.patch @@ -37,6 +37,15 @@ MODULEBUILDDIR=$(MODULEBUILDDIR) postbuild --- a/vmmon/linux/driver.c +++ b/vmmon/linux/driver.c +@@ -38,6 +38,8 @@ + + #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) + #error Linux kernels before 2.6.32 are not supported ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) ++#error Linux kernels from 5.8.0 are not supported + #endif + + #include <asm/io.h> @@ -96,7 +95,9 @@ long LinuxDriver_Ioctl(struct file *filp, u_int iocmd, unsigned long ioarg); |