The patch titled Subject: kernel/sys.c: fix UNAME26 for 4.0 has been added to the -mm tree. Its filename is kernel-sysc-fix-uname26-for-40.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kernel-sysc-fix-uname26-for-40.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kernel-sysc-fix-uname26-for-40.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Jon DeVree <nuxi@xxxxxxxxxxx> Subject: kernel/sys.c: fix UNAME26 for 4.0 There's a uname workaround for broken userspace which can't handle kernel versions of 3.x. Update it for 4.x. Signed-off-by: Jon DeVree <nuxi@xxxxxxxxxxx> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/sys.c~kernel-sysc-fix-uname26-for-40 kernel/sys.c --- a/kernel/sys.c~kernel-sysc-fix-uname26-for-40 +++ a/kernel/sys.c @@ -1127,7 +1127,7 @@ static int override_release(char __user break; rest++; } - v = ((LINUX_VERSION_CODE >> 8) & 0xff) + 40; + v = ((LINUX_VERSION_CODE >> 8) & 0xff) + 60; copy = clamp_t(size_t, len, 1, sizeof(buf)); copy = scnprintf(buf, copy, "2.6.%u%s", v, rest); ret = copy_to_user(release, buf, copy + 1); _ Patches currently in -mm which might be from nuxi@xxxxxxxxxxx are kernel-sysc-fix-uname26-for-40.patch kernel-sysc-fix-uname26-for-40-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html