Re: [PATCH] sh64: fix __NR_fgetxattr

2015-12-09 Thread Geert Uytterhoeven
CC akpm On Wed, Dec 9, 2015 at 4:16 AM, Dmitry V. Levin wrote: > 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

[PATCH] sh64: fix __NR_fgetxattr

2015-12-08 Thread Dmitry V. Levin
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. Lev