diff options
| author | Günther Noack <gnoack3000@gmail.com> | 2026-01-11 18:52:04 +0100 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-01-12 17:07:21 +0100 |
| commit | 6abbb8703aeeb645a681ab6ad155e0b450413787 (patch) | |
| tree | ba215e911f70671eb8f3b6a2ab24e227e4b309d8 /include/uapi/linux/byteorder | |
| parent | 15e8d739fda1084d81f7d3813e9600eba6e0f134 (diff) | |
landlock: Clarify documentation for the IOCTL access right
Move the description of the LANDLOCK_ACCESS_FS_IOCTL_DEV access right
together with the file access rights.
This group of access rights applies to files (in this case device
files), and they can be added to file or directory inodes using
landlock_add_rule(2). The check for that works the same for all file
access rights, including LANDLOCK_ACCESS_FS_IOCTL_DEV.
Invoking ioctl(2) on directory FDs can not currently be restricted
with Landlock. Having it grouped separately in the documentation is a
remnant from earlier revisions of the LANDLOCK_ACCESS_FS_IOCTL_DEV
patch set.
Link: https://lore.kernel.org/all/20260108.Thaex5ruach2@digikod.net/
Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20260111175203.6545-2-gnoack3000@gmail.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'include/uapi/linux/byteorder')
0 files changed, 0 insertions, 0 deletions
