diff options
author | Mickaël Salaün <mic@digikod.net> | 2022-05-06 18:08:16 +0200 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2022-05-23 13:27:50 +0200 |
commit | 6a1bdd4a0bfc30fa4fa2b3a979e6525f28996db9 (patch) | |
tree | ed7a2e7c27a870c96ac80e82ee8802efe98a8187 /scripts | |
parent | d18955d094d09a220cf8f533f5e896a2fe31575a (diff) |
selftests/landlock: Fully test file rename with "remove" access
These tests were missing to check the check_access_path() call with all
combinations of maybe_remove(old_dentry) and maybe_remove(new_dentry).
Extend layout1.link with a new complementary test and check that
REMOVE_FILE is not required to link a file.
Cc: Shuah Khan <shuah@kernel.org>
Link: https://lore.kernel.org/r/20220506160820.524344-7-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions