Apply patch to run binaries on Debian 10

This commit is contained in:
thiagoftsm
2024-04-21 15:02:37 +00:00
parent b981a3a138
commit 0dbbb4e7e0

View File

@@ -97,6 +97,9 @@ __u32 get_kernel_version(void)
if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3)
return 0;
if (major == 4 && minor == 19 && patch > 255)
return KERNEL_VERSION(major, minor, 255);
return KERNEL_VERSION(major, minor, patch);
}