selftests/landlock: Use an actual chardev for MAKE_CHAR audit test

By passing a (0, 0) device number, the audit test for
LANDLOCK_ACCESS_FS_MAKE_CHAR was accidentally creating a whiteout object
rather than a char device.  In preparation to treating whiteout objects
differently, use an actual character device instead.

Signed-off-by: Günther Noack <gnoack@google.com>
Link: https://patch.msgid.link/20260813093157.1436894-2-gnoack@google.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
This commit is contained in:
Günther Noack 2026-08-13 11:31:52 +02:00 • committed by Mickaël Salaün
commit 173b1bd873
No known key found for this signature in database
GPG key ID: E5E3D0E88C82F6D2