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
45 * - %LANDLOCK_CREATE_RULESET_VERSION: Get the highest supported Landlock ABI
48 /* clang-format off */
50 /* clang-format on */
53 * enum landlock_rule_type - Landlock rule type
71 * struct landlock_path_beneath_attr - Path hierarchy definition
94 * struct landlock_net_port_attr - Network port definition
133 * - %LANDLOCK_ACCESS_FS_EXECUTE: Execute a file.
134 * - %LANDLOCK_ACCESS_FS_WRITE_FILE: Open a file with write access. Note that
136 * to overwrite files with :manpage:`open(2)` using ``O_TRUNC`` or
138 * - %LANDLOCK_ACCESS_FS_READ_FILE: Open a file with read access.
139 * - %LANDLOCK_ACCESS_FS_TRUNCATE: Truncate a file with :manpage:`truncate(2)`,
140 * :manpage:`ftruncate(2)`, :manpage:`creat(2)`, or :manpage:`open(2)` with
142 * :manpage:`ftruncate(2)` is determined during :manpage:`open(2)`, in the
144 * :manpage:`open(2)` using %LANDLOCK_ACCESS_FS_READ_FILE and
152 * - %LANDLOCK_ACCESS_FS_READ_DIR: Open a directory or list its content.
157 * - %LANDLOCK_ACCESS_FS_REMOVE_DIR: Remove an empty directory or rename one.
158 * - %LANDLOCK_ACCESS_FS_REMOVE_FILE: Unlink (or rename) a file.
159 * - %LANDLOCK_ACCESS_FS_MAKE_CHAR: Create (or rename or link) a character
161 * - %LANDLOCK_ACCESS_FS_MAKE_DIR: Create (or rename) a directory.
162 * - %LANDLOCK_ACCESS_FS_MAKE_REG: Create (or rename or link) a regular file.
163 * - %LANDLOCK_ACCESS_FS_MAKE_SOCK: Create (or rename or link) a UNIX domain
165 * - %LANDLOCK_ACCESS_FS_MAKE_FIFO: Create (or rename or link) a named pipe.
166 * - %LANDLOCK_ACCESS_FS_MAKE_BLOCK: Create (or rename or link) a block device.
167 * - %LANDLOCK_ACCESS_FS_MAKE_SYM: Create (or rename or link) a symbolic link.
168 * - %LANDLOCK_ACCESS_FS_REFER: Link or rename a file from or to a different
182 * In addition to the source and destination directories having the
187 * directory than it previously had in the source directory. If this is
195 * respective file type must be granted for the source directory. Otherwise,
203 * It is currently not possible to restrict some file-related actions
210 /* clang-format off */
226 /* clang-format on */
239 * - %LANDLOCK_ACCESS_NET_BIND_TCP: Bind a TCP socket to a local port.
240 * - %LANDLOCK_ACCESS_NET_CONNECT_TCP: Connect an active TCP socket to
243 /* clang-format off */
246 /* clang-format on */