]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: use compat_sys_keyctl()
authorEric Biggers <ebiggers@google.com>
Tue, 13 Jun 2017 06:18:30 +0000 (23:18 -0700)
committerHelge Deller <deller@gmx.de>
Sun, 2 Jul 2017 20:10:47 +0000 (22:10 +0200)
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.

Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/syscall_table.S

index 44aeaa9c039fc421421a5b1b7524495e0d225eba..6308749359e4b7d6ee348062d584f7b747f1a115 100644 (file)
        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)