selftests/landlock: Redefine TEST_F() as TEST_F_FORK()
authorMickaël Salaün <mic@digikod.net>
Thu, 29 Feb 2024 00:59:08 +0000 (16:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 10:30:27 +0000 (10:30 +0000)
commite74048650eaff6674895f2220d0545f5e5920cd6
treebf10cc637c26f53a84873b98b2e403c74940b704
parent7779f268660250275bc165d1227ef6e1fd04d17d
selftests/landlock: Redefine TEST_F() as TEST_F_FORK()

This has the effect of creating a new test process for either TEST_F()
or TEST_F_FORK(), which doesn't change tests but will ease potential
backports.  See next commit for the TEST_F_FORK() merge into TEST_F().

Cc: Günther Noack <gnoack@google.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Will Drewry <wad@chromium.org>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/landlock/common.h