Linux PARISC architecture development
 help / color / mirror / Atom feed
* [PATCH] parisc: use compat_sys_keyctl()
@ 2017-06-13  6:18 Eric Biggers
  2017-06-16 15:43 ` Helge Deller
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2017-06-13  6:18 UTC (permalink / raw)
  To: linux-parisc
  Cc: James E . J . Bottomley, Helge Deller, keyrings, Eric Biggers

From: Eric Biggers <ebiggers@google.com>

Architectures with a compat syscall table must put compat_sys_keyctl()
in it, not sys_keyctl().  The parisc architecture was not doing this;
fix it.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 arch/parisc/kernel/syscall_table.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 44aeaa9c039f..6308749359e4 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -361,7 +361,7 @@
 	ENTRY_SAME(ni_syscall)	/* 263: reserved for vserver */
 	ENTRY_SAME(add_key)
 	ENTRY_SAME(request_key)		/* 265 */
-	ENTRY_SAME(keyctl)
+	ENTRY_COMP(keyctl)
 	ENTRY_SAME(ioprio_set)
 	ENTRY_SAME(ioprio_get)
 	ENTRY_SAME(inotify_init)
-- 
2.13.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-16 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13  6:18 [PATCH] parisc: use compat_sys_keyctl() Eric Biggers
2017-06-16 15:43 ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox