summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-06-12 23:18:30 -0700
committerBen Hutchings <ben@decadent.org.uk>2017-10-12 15:27:59 +0100
commit9066ae99f721a161427c78d8d063a3402c8c67f3 (patch)
tree9fd9a1ab116e7f6f0b50c762b8d2c20adc0ddb72
parentd2bc7a3e8fdb6a4022afb426a5fc5ec12fd8127d (diff)
downloadlinux-stable-9066ae99f721a161427c78d8d063a3402c8c67f3.tar.gz
linux-stable-9066ae99f721a161427c78d8d063a3402c8c67f3.tar.bz2
linux-stable-9066ae99f721a161427c78d8d063a3402c8c67f3.zip
parisc: use compat_sys_keyctl()
commit b0f94efd5aa8daa8a07d7601714c2573266cd4c9 upstream. 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> Acked-by: Helge Deller <deller@gmx.de> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--arch/parisc/kernel/syscall_table.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 3cd1c435c306..cd734c18de6b 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)