Apply patch to run binaries on Debian 10

This commit is contained in:
thiagoftsm
2024-01-24 12:45:57 +00:00
parent f8f9df60e0
commit 252dca2412

View File

@@ -74,6 +74,9 @@ static __u32 get_debian_kernel_version(struct utsname *info)
if (sscanf(p, "Debian %u.%u.%u", &major, &minor, &patch) != 3) if (sscanf(p, "Debian %u.%u.%u", &major, &minor, &patch) != 3)
return 0; return 0;
if (major == 4 && minor == 19 && patch > 255)
return KERNEL_VERSION(major, minor, 255);
return KERNEL_VERSION(major, minor, patch); return KERNEL_VERSION(major, minor, patch);
} }