]> 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)
commitf3711e28988623aea927c47fb5b9b0468e606313
tree56b5254c05995cbe745977334c5f374dc7c8d1d0
parent833eda234cf95ae91e6ba3635cc25539a7eb11da
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