History

Merge tag 'landlock-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux

Pull landlock updates from Mickaël Salaün: "Improve user help for Landlock (documentation and sample)" * tag 'landlock-6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux: landlock: Fix documentation style landlock: Slightly improve documentation and fix spelling samples/landlock: Print hints about ABI versions

Linus Torvalds committed 4 years ago

Commit 522667b2 parents c645c11 2fff00c6 files · +76 −54Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/landlock.h+5−5
@@ -26,7 +26,7 @@ struct landlock_ruleset_attr { · 25 unmodified lines
26 * Landlock filesystem access rights that are not part of26 * Landlock filesystem access rights that are not part of
27 * handled_access_fs are allowed. This is needed for backward27 * handled_access_fs are allowed. This is needed for backward
28 * compatibility reasons. One exception is the28 * compatibility reasons. One exception is the
29 * LANDLOCK_ACCESS_FS_REFER access right, which is always implicitly29 * %LANDLOCK_ACCESS_FS_REFER access right, which is always implicitly
30 * handled, but must still be explicitly handled to add new rules with30 * handled, but must still be explicitly handled to add new rules with
31 * this access right.31 * this access right.
32 */32 */
@@ -128,11 +128,11 @@ struct landlock_path_beneath_attr { · 95 unmodified lines
128 * hierarchy must also always have the same or a superset of restrictions of128 * hierarchy must also always have the same or a superset of restrictions of
129 * the source hierarchy. If it is not the case, or if the domain doesn't129 * the source hierarchy. If it is not the case, or if the domain doesn't
130 * handle this access right, such actions are denied by default with errno130 * handle this access right, such actions are denied by default with errno
131 * set to EXDEV. Linking also requires a LANDLOCK_ACCESS_FS_MAKE_* access131 * set to ``EXDEV``. Linking also requires a ``LANDLOCK_ACCESS_FS_MAKE_*``
132 * right on the destination directory, and renaming also requires a132 * access right on the destination directory, and renaming also requires a
133 * LANDLOCK_ACCESS_FS_REMOVE_* access right on the source's (file or133 * ``LANDLOCK_ACCESS_FS_REMOVE_*`` access right on the source's (file or
134 * directory) parent. Otherwise, such actions are denied with errno set to134 * directory) parent. Otherwise, such actions are denied with errno set to
135 * EACCES. The EACCES errno prevails over EXDEV to let user space135 * ``EACCES``. The ``EACCES`` errno prevails over ``EXDEV`` to let user space
136 * efficiently deal with an unrecoverable error.136 * efficiently deal with an unrecoverable error.
137 *137 *
138 * .. warning::138 * .. warning::