landlock: Document LANDLOCK_ACCESS_FS_REFER and ABI versioning
authorMickaël Salaün <mic@digikod.net>
Fri, 6 May 2022 16:11:00 +0000 (18:11 +0200)
committerMickaël Salaün <mic@digikod.net>
Mon, 23 May 2022 11:28:00 +0000 (13:28 +0200)
commit6f59abfae35fbbe688ff790ff9638576956d760c
tree56b5254c05995cbe745977334c5f374dc7c8d1d0
parent76b902f874ff4de9c1078489d4c7678a64105ea6
landlock: Document LANDLOCK_ACCESS_FS_REFER and ABI versioning

Add LANDLOCK_ACCESS_FS_REFER in the example and properly check to only
use it if the current kernel support it thanks to the Landlock ABI
version.

Move the file renaming and linking limitation to a new "Previous
limitations" section.

Improve documentation about the backward and forward compatibility,
including the rational for ruleset's handled_access_fs.

Update the document date.

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-11-mic@digikod.net
Documentation/userspace-api/landlock.rst