]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46d1ae25cf220eb402f9dad418363e81df3b265c
tree56b5254c05995cbe745977334c5f374dc7c8d1d0
parentee3a7a4d7e6a0858eba0374b11ce9df87d4d5bb0
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