Lines Matching +full:open +full:- +full:source

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Landlock - User space API
5 * Copyright © 2017-2020 Mickaël Salaün <mic@digikod.net>
6 * Copyright © 2018-2020 ANSSI
15 * struct landlock_ruleset_attr - Ruleset definition
24 * rule explicitly allow them: it is a deny-by-default list that should
39 * - %LANDLOCK_CREATE_RULESET_VERSION: Get the highest supported Landlock ABI
42 /* clang-format off */
44 /* clang-format on */
47 * enum landlock_rule_type - Landlock rule type
60 * struct landlock_path_beneath_attr - Path hierarchy definition
97 * - %LANDLOCK_ACCESS_FS_EXECUTE: Execute a file.
98 * - %LANDLOCK_ACCESS_FS_WRITE_FILE: Open a file with write access. Note that
100 * to overwrite files with :manpage:`open(2)` using ``O_TRUNC`` or
102 * - %LANDLOCK_ACCESS_FS_READ_FILE: Open a file with read access.
103 * - %LANDLOCK_ACCESS_FS_TRUNCATE: Truncate a file with :manpage:`truncate(2)`,
104 * :manpage:`ftruncate(2)`, :manpage:`creat(2)`, or :manpage:`open(2)` with
106 * :manpage:`ftruncate(2)` is determined during :manpage:`open(2)`, in the
108 * :manpage:`open(2)` using %LANDLOCK_ACCESS_FS_READ_FILE and
116 * - %LANDLOCK_ACCESS_FS_READ_DIR: Open a directory or list its content.
121 * - %LANDLOCK_ACCESS_FS_REMOVE_DIR: Remove an empty directory or rename one.
122 * - %LANDLOCK_ACCESS_FS_REMOVE_FILE: Unlink (or rename) a file.
123 * - %LANDLOCK_ACCESS_FS_MAKE_CHAR: Create (or rename or link) a character
125 * - %LANDLOCK_ACCESS_FS_MAKE_DIR: Create (or rename) a directory.
126 * - %LANDLOCK_ACCESS_FS_MAKE_REG: Create (or rename or link) a regular file.
127 * - %LANDLOCK_ACCESS_FS_MAKE_SOCK: Create (or rename or link) a UNIX domain
129 * - %LANDLOCK_ACCESS_FS_MAKE_FIFO: Create (or rename or link) a named pipe.
130 * - %LANDLOCK_ACCESS_FS_MAKE_BLOCK: Create (or rename or link) a block device.
131 * - %LANDLOCK_ACCESS_FS_MAKE_SYM: Create (or rename or link) a symbolic link.
132 * - %LANDLOCK_ACCESS_FS_REFER: Link or rename a file from or to a different
146 * In addition to the source and destination directories having the
151 * directory than it previously had in the source directory. If this is
159 * respective file type must be granted for the source directory. Otherwise,
167 * It is currently not possible to restrict some file-related actions
174 /* clang-format off */
190 /* clang-format on */