All of lore.kernel.org
 help / color / mirror / Atom feed
* + sh64-fix-__nr_fgetxattr.patch added to -mm tree
@ 2015-12-10  0:16 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-12-10  0:16 UTC (permalink / raw)
  To: ldv, geert+renesas, stable, mm-commits


The patch titled
     Subject: sh64: fix __NR_fgetxattr
has been added to the -mm tree.  Its filename is
     sh64-fix-__nr_fgetxattr.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/sh64-fix-__nr_fgetxattr.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/sh64-fix-__nr_fgetxattr.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: "Dmitry V. Levin" <ldv@altlinux.org>
Subject: 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>
---

 arch/sh/include/uapi/asm/unistd_64.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/sh/include/uapi/asm/unistd_64.h~sh64-fix-__nr_fgetxattr arch/sh/include/uapi/asm/unistd_64.h
--- a/arch/sh/include/uapi/asm/unistd_64.h~sh64-fix-__nr_fgetxattr
+++ a/arch/sh/include/uapi/asm/unistd_64.h
@@ -278,7 +278,7 @@
 #define __NR_fsetxattr		256
 #define __NR_getxattr		257
 #define __NR_lgetxattr		258
-#define __NR_fgetxattr		269
+#define __NR_fgetxattr		259
 #define __NR_listxattr		260
 #define __NR_llistxattr		261
 #define __NR_flistxattr		262
_

Patches currently in -mm which might be from ldv@altlinux.org are

sh64-fix-__nr_fgetxattr.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-10  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-10  0:16 + sh64-fix-__nr_fgetxattr.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.