History

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.

Dmitry V. Levin committed 10 years ago

Commit 2d33fa11 parent 854ee2e1 file · +1 −1Browse files

Unified · Split

arch/sh/include/uapi/asm/unistd_64.h+1−1
@@ -278,7 +278,7 @@ · 277 unmodified lines
278278 #define __NR_fsetxattr 256
279279 #define __NR_getxattr 257
280280 #define __NR_lgetxattr 258
281−#define __NR_fgetxattr 269
281+#define __NR_fgetxattr 259
282282 #define __NR_listxattr 260
283283 #define __NR_llistxattr 261
284284 #define __NR_flistxattr 262