* [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
* Re: [PATCH] parisc: use compat_sys_keyctl()
2017-06-13 6:18 [PATCH] parisc: use compat_sys_keyctl() Eric Biggers
@ 2017-06-16 15:43 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2017-06-16 15:43 UTC (permalink / raw)
To: Eric Biggers, linux-parisc
Cc: James E . J . Bottomley, keyrings, Eric Biggers
On 13.06.2017 08:18, Eric Biggers wrote:
> 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>
Acked-by: Helge Deller <deller@gmx.de>
Thanks Eric!
I'll queue it up in my next arch pull request (unless someone else takes it earlier).
Helge
> ---
> 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)
>
^ permalink raw reply [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