]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/landlock: Replace access_fs_16 with ACCESS_ALL in fs_test
authorGünther Noack <gnoack3000@gmail.com>
Fri, 27 Mar 2026 16:48:32 +0000 (17:48 +0100)
committerMickaël Salaün <mic@digikod.net>
Tue, 7 Apr 2026 16:51:08 +0000 (18:51 +0200)
commitdb8201a3fae2ca7a2865dbb9e8955289776783c7
tree6817c37655a98d21dc1650f963be4ee4f7cb367d
parenta92cb5d7c6c988f304df355f4b5afcc379428f07
selftests/landlock: Replace access_fs_16 with ACCESS_ALL in fs_test

The access_fs_16 variable was originally intended to stay frozen at 16
access rights so that audit tests would not need updating when new
access rights are added.  Now that we have 17 access rights, the name
is confusing.

Replace all uses of access_fs_16 with ACCESS_ALL and delete the
variable.

Suggested-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20260327164838.38231-8-gnoack3000@gmail.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/fs_test.c