projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab65ba
)
m68k: assign syscall number for seccomp
author
Arnd Bergmann
<arnd@arndb.de>
Sun, 30 Dec 2018 21:50:22 +0000
(22:50 +0100)
committer
Arnd Bergmann
<arnd@arndb.de>
Fri, 25 Jan 2019 16:22:50 +0000
(17:22 +0100)
Most architectures have assigned a numbers for the seccomp syscall
even when they do not implement it.
m68k is an exception here, so for consistency lets add the number.
Unless CONFIG_SECCOMP is implemented, the system call just
returns -ENOSYS.
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/m68k/kernel/syscalls/syscall.tbl
patch
|
blob
|
blame
|
history
diff --git
a/arch/m68k/kernel/syscalls/syscall.tbl
b/arch/m68k/kernel/syscalls/syscall.tbl
index 1a95c4a1bc0d786ca69c92c33311e73c551d25c9..85779d6ef935318e24f1b96cbbc002cff5fa8663 100644
(file)
--- a/
arch/m68k/kernel/syscalls/syscall.tbl
+++ b/
arch/m68k/kernel/syscalls/syscall.tbl
@@
-387,3
+387,4
@@
377 common preadv2 sys_preadv2
378 common pwritev2 sys_pwritev2
379 common statx sys_statx
+380 common seccomp sys_seccomp