commit | 04b38d012556199ba4c31195940160e0c44c64f0 | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Mon Jan 11 17:28:39 2021 +0000 |
committer | Kees Cook <keescook@chromium.org> | Mon Jan 11 12:05:14 2021 -0800 |
tree | f91e12cb71e4e173d1a2ba5de75e474b0d150efc | |
parent | e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 [diff] |
seccomp: Add missing return in non-void function We don't actually care about the value, since the kernel will panic before that; but a value should nonetheless be returned, otherwise the compiler will complain. Fixes: 8112c4f140fa ("seccomp: remove 2-phase API") Cc: stable@vger.kernel.org # 4.7+ Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210111172839.640914-1-paul@crapouillou.net