summaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorMickaël Salaün <mic@digikod.net>2024-05-11 19:14:40 +0200
committerMickaël Salaün <mic@digikod.net>2024-05-11 19:18:44 +0200
commit3656bc23429a4d539c81b5cb8f17ceeeeca8901a (patch)
tree699be2b714d407d2b30eea72b337bc4e13d09fa9 /.cocciconfig
parentselftests/harness: Fix interleaved scheduling leading to race conditions (diff)
downloadlinux-3656bc23429a4d539c81b5cb8f17ceeeeca8901a.tar.xz
linux-3656bc23429a4d539c81b5cb8f17ceeeeca8901a.zip
selftests/landlock: Do not allocate memory in fixture data
Do not allocate self->dir_path in the test process because this would not be visible in the FIXTURE_TEARDOWN() process when relying on fork()/clone3() instead of vfork(). This change is required for a following commit removing vfork() call to not break the layout3_fs.* test cases. Cc: Günther Noack <gnoack@google.com> Cc: Shuah Khan <skhan@linuxfoundation.org> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20240511171445.904356-6-mic@digikod.net Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions