]> git.baikalelectronics.ru Git - kernel.git/commit
seccomp, s390: fix build for syscall type change
authorTycho Andersen <tycho@tycho.ws>
Thu, 13 Dec 2018 20:10:30 +0000 (13:10 -0700)
committerKees Cook <keescook@chromium.org>
Fri, 14 Dec 2018 00:51:01 +0000 (16:51 -0800)
commit167bc062b6e92c6ce23bc06c51616194dd5c4e14
tree5cb8ea9f9402411c704b15f16547a803f46e1058
parent098a4484fc76e67a918143fe9eea71522180d609
seccomp, s390: fix build for syscall type change

A recent patch landed in the security tree [1] that changed the type of the
seccomp syscall. Unfortunately, I didn't quite get every instance of the
forward declarations, and thus there is a build failure. Here's the last
one that I could find, for s390. It should go through the security tree,
although hopefully some s390 people can check and make sure it looks
reasonable?

The only oddity is the trailing semicolon; some lines around this patch
have it, and some lines don't. I've left this one as-is.

[1]: https://lore.kernel.org/lkml/20181212231630.GA31584@beast/T/#u

Signed-off-by: Tycho Andersen <tycho@tycho.ws>
Fixes: 388c4c8f99d2 ("seccomp: add a return code to trap to userspace")
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/s390/kernel/compat_wrapper.c