selftests/landlock: Test IOCTL with memfds

Because the LANDLOCK_ACCESS_FS_IOCTL_DEV right is associated with the
opened file during open(2), IOCTLs are supposed to work with files
which are opened by means other than open(2).

Signed-off-by: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20240419161122.2023765-4-gnoack@google.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
This commit is contained in:
Günther Noack 2024-04-19 16:11:14 +00:00 • committed by Mickaël Salaün
commit dd6d32afdf
No known key found for this signature in database
GPG key ID: E5E3D0E88C82F6D2