selftests/landlock: Make mounts configurable
authorMickaël Salaün <mic@digikod.net>
Mon, 12 Jun 2023 19:14:28 +0000 (21:14 +0200)
committerMickaël Salaün <mic@digikod.net>
Mon, 12 Jun 2023 19:26:22 +0000 (21:26 +0200)
commit55ab3fbe8333148e9c21477ffdc4edbe1f568f55
tree2699ffc31f1e371c4908a60024ce75e26a366ecc
parent3de64b656b3c827d7d194558b0ae3a09400b116d
selftests/landlock: Make mounts configurable

Add a new struct mnt_opt to define a mount point with the mount_opt()
helper.  This doesn't change tests but prepare for the next commit.

Link: https://lore.kernel.org/r/20230612191430.339153-5-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/fs_test.c