sh64: fix __NR_fgetxattr
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 11 Dec 2015 21:41:06 +0000 (13:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 12 Dec 2015 18:15:34 +0000 (10:15 -0800)
commit2d33fa1059da4c8e816627a688d950b613ec0474
treebd95556981a490a5b2e7c2f940dbc221939f4cb0
parent854ee2e944b4daf795e32562a7d2f9e90ab5a6a8
sh64: fix __NR_fgetxattr

According to arch/sh/kernel/syscalls_64.S and common sense, __NR_fgetxattr
has to be defined to 259, but it doesn't.  Instead, it's defined to 269,
which is of course used by another syscall, __NR_sched_setaffinity in this
case.

This bug was found by strace test suite.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/include/uapi/asm/unistd_64.h
This page took 0.026572 seconds and 5 git commands to generate.