aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/seccomp
diff options
context:
space:
mode:
authorTycho Andersen <tycho@tycho.ws>2019-01-18 17:12:13 -0700
committerShuah Khan <shuah@kernel.org>2019-02-13 08:34:40 -0700
commit0b54b443a9de2db726625b2bd535fadca5b137a6 (patch)
tree97943db2999496286eac6270a9909b3213bd6c53 /tools/testing/selftests/seccomp
parentselftests: don't kill child immediately in get_metadata() test (diff)
downloadwireguard-linux-0b54b443a9de2db726625b2bd535fadca5b137a6.tar.xz
wireguard-linux-0b54b443a9de2db726625b2bd535fadca5b137a6.zip
selftests: fix typo in seccomp_bpf.c
There used to be an explanation here because it could trigger lockdep previously, but now we're not doing recursive locking, so it really is just for grins. Signed-off-by: Tycho Andersen <tycho@tycho.ws> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/seccomp')
-rw-r--r--tools/testing/selftests/seccomp/seccomp_bpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c
index e67395f08cd9..01d1d06e3668 100644
--- a/tools/testing/selftests/seccomp/seccomp_bpf.c
+++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
@@ -3077,7 +3077,7 @@ TEST(user_notification_basic)
EXPECT_EQ(true, WIFEXITED(status));
EXPECT_EQ(0, WEXITSTATUS(status));
- /* Add some no-op filters so for grins. */
+ /* Add some no-op filters for grins. */
EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0);
EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0);
EXPECT_EQ(seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog), 0);