diff mbox

parisc: use compat_sys_keyctl()

Message ID 20170613061830.18013-1-ebiggers3@gmail.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Eric Biggers June 13, 2017, 6:18 a.m. UTC
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(-)

Comments

Helge Deller June 16, 2017, 3:43 p.m. UTC | #1
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)
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)