selftests/landlock: Extend tests for minimal valid attribute size
authorMickaël Salaün <mic@digikod.net>
Fri, 6 May 2022 16:08:13 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:23:23 +0000 (10:23 +0200)
commitd709e275a05bdcc6cb3753baf19387b998ad975f
tree4fbf5bd69dc9a0db47ed4674809eaa3f2fe42705
parenta6d127b86916f2b4eb59074bd438b50d44fbf497
selftests/landlock: Extend tests for minimal valid attribute size

commit 291865bd7e8bb4b4033d341fa02dafa728e6378c upstream.

This might be useful when the struct landlock_ruleset_attr will get more
fields.

Cc: Shuah Khan <shuah@kernel.org>
Link: https://lore.kernel.org/r/20220506160820.524344-4-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/landlock/base_test.c