parisc: use compat_sys_keyctl()
Subsystems (2)
PATCH 1/1 parisc: use compat_sys_keyctl()
From: Eric Biggers <[email protected]>
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 <[email protected]>
--- arch/parisc/kernel/syscall_table.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/parisc/kernel/syscall_table.S +1 -1
@@ -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)
Signature · 1 line
2.13.1
Quoted 7 lines · Eric Biggers
From: Eric Biggers <[email protected]>
Architectures with a compat syscall table must put
compat_sys_keyctl()in it, notsys_keyctl(). The parisc architecture was not doing this; fix it.Signed-off-by Eric Biggers <[email protected]>
Acked-by Helge Deller <[email protected]>
Thanks Eric!
I'll queue it up in my next arch pull request (unless someone else takes it earlier).
Helge
Quoted 18 lines
--- arch/parisc/kernel/syscall_table.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/parisc/kernel/syscall_table.S +1
-1@@ -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)