selftests/landlock: Test IOCTL support
authorGünther Noack <gnoack@google.com>
Fri, 19 Apr 2024 16:11:13 +0000 (16:11 +0000)
committerMickaël Salaün <mic@digikod.net>
Mon, 13 May 2024 04:58:30 +0000 (06:58 +0200)
commit3ecf19e56843a6fe65f109c773728c36d220f947
tree0e2482c4ce81312f42a77e728fd00cb5aa5286d0
parentb25f7415eb4108aa32dd3e74289d7f997090708f
selftests/landlock: Test IOCTL support

Exercises Landlock's IOCTL feature in different combinations of
handling and permitting the LANDLOCK_ACCESS_FS_IOCTL_DEV right, and in
different combinations of using files and directories.

Signed-off-by: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20240419161122.2023765-3-gnoack@google.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/fs_test.c