commit | 76b902f874ff4de9c1078489d4c7678a64105ea6 | [log] [tgz] |
---|---|---|
author | Mickaël Salaün <mic@digikod.net> | Fri May 06 18:10:59 2022 +0200 |
committer | Mickaël Salaün <mic@digikod.net> | Mon May 23 13:28:00 2022 +0200 |
tree | 2b890621d9978d414c76f83952e29608833b88c1 | |
parent | f4056b9266b571c63f30cda70c2d89f7b7e8bb7b [diff] |
samples/landlock: Add support for file reparenting Add LANDLOCK_ACCESS_FS_REFER to the "roughly write" access rights and leverage the Landlock ABI version to only try to enforce it if it is supported by the running kernel. Reviewed-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Mickaël Salaün <mic@digikod.net> Link: https://lore.kernel.org/r/20220506161102.525323-10-mic@digikod.net