| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:29+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "landlock_create_ruleset" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 28 |
#, no-wrap |
| 29 |
msgid "2026-04-21" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-unstable |
| 34 |
#, no-wrap |
| 35 |
msgid "Linux man-pages 6.18" |
| 36 |
msgstr "" |
| 37 |
|
| 38 |
#. type: SH |
| 39 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 40 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 41 |
#, no-wrap |
| 42 |
msgid "NAME" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: Plain text |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
msgid "landlock_create_ruleset - create a new Landlock ruleset" |
| 49 |
msgstr "" |
| 50 |
|
| 51 |
#. type: SH |
| 52 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 53 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 54 |
#, no-wrap |
| 55 |
msgid "LIBRARY" |
| 56 |
msgstr "" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 60 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 62 |
msgstr "" |
| 63 |
|
| 64 |
#. type: SH |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, no-wrap |
| 68 |
msgid "SYNOPSIS" |
| 69 |
msgstr "" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 73 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "" |
| 76 |
"B<#include E<lt>linux/landlock.hE<gt>> /* Definition of B<LANDLOCK_*> constants */\n" |
| 77 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 78 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 79 |
msgstr "" |
| 80 |
|
| 81 |
#. type: Plain text |
| 82 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 83 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 84 |
#, no-wrap |
| 85 |
msgid "" |
| 86 |
"B<int syscall(SYS_landlock_create_ruleset,>\n" |
| 87 |
"B< const struct landlock_ruleset_attr *>I<attr>B<,>\n" |
| 88 |
"B< size_t >I<size>B< , uint32_t >I<flags>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
|
| 91 |
#. type: SH |
| 92 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 93 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 94 |
#, no-wrap |
| 95 |
msgid "DESCRIPTION" |
| 96 |
msgstr "" |
| 97 |
|
| 98 |
#. type: Plain text |
| 99 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 100 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 101 |
msgid "" |
| 102 |
"A Landlock ruleset identifies a set of rules (i.e., actions on objects). " |
| 103 |
"This B<landlock_create_ruleset>() system call creates a new file descriptor " |
| 104 |
"which identifies a ruleset. This file descriptor can then be used by " |
| 105 |
"B<landlock_add_rule>(2) and B<landlock_restrict_self>(2). See " |
| 106 |
"B<landlock>(7) for a global overview." |
| 107 |
msgstr "" |
| 108 |
|
| 109 |
#. type: Plain text |
| 110 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 111 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 112 |
msgid "" |
| 113 |
"I<attr> specifies the properties of the new ruleset. It points to the " |
| 114 |
"following structure:" |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "" |
| 121 |
"struct landlock_ruleset_attr {\n" |
| 122 |
" __u64 handled_access_fs;\n" |
| 123 |
" __u64 handled_access_net;\n" |
| 124 |
" __u64 scoped;\n" |
| 125 |
"};\n" |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 130 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "" |
| 132 |
"I<handled_access_fs> is a bitmask of handled filesystem actions (see " |
| 133 |
"B<Filesystem actions> in B<landlock>(7))." |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. type: Plain text |
| 137 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 138 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
msgid "" |
| 140 |
"I<handled_access_net> is a bitmask of handled network actions (see B<Network " |
| 141 |
"actions> in B<landlock>(7))." |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"I<scoped> is a bitmask of scope flags (see B<Scope flags> in B<landlock>(7))." |
| 148 |
msgstr "" |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 152 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
msgid "" |
| 154 |
"This structure defines a set of I<handled access rights>, a set of actions " |
| 155 |
"on different object types, which should be denied by default when the " |
| 156 |
"ruleset is enacted. Vice versa, access rights that are not specifically " |
| 157 |
"listed here are not going to be denied by this ruleset when it is enacted." |
| 158 |
msgstr "" |
| 159 |
|
| 160 |
#. type: Plain text |
| 161 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 162 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 163 |
msgid "" |
| 164 |
"For historical reasons, the B<LANDLOCK_ACCESS_FS_REFER> right is always " |
| 165 |
"denied by default, even when its bit is not set in I<handled_access_fs>. In " |
| 166 |
"order to add new rules with this access right, the bit must still be set " |
| 167 |
"explicitly (see B<Filesystem actions> in B<landlock>(7))." |
| 168 |
msgstr "" |
| 169 |
|
| 170 |
#. type: Plain text |
| 171 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 172 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 173 |
msgid "" |
| 174 |
"The explicit listing of I<handled access rights> is required for backwards " |
| 175 |
"compatibility reasons. In most use cases, processes that use Landlock will " |
| 176 |
"I<handle> a wide range or all access rights that they know about at build " |
| 177 |
"time (and that they have tested with a kernel that supported them all)." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 182 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "This structure can grow in future Landlock versions." |
| 184 |
msgstr "" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
msgid "" |
| 190 |
"I<size> must be specified as I<sizeof(struct landlock_ruleset_attr)> for " |
| 191 |
"compatibility reasons." |
| 192 |
msgstr "" |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
msgid "" |
| 198 |
"I<flags> must be 0 if I<attr> is used. Otherwise, I<flags> can be set to:" |
| 199 |
msgstr "" |
| 200 |
|
| 201 |
#. type: TP |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
#, no-wrap |
| 205 |
msgid "B<LANDLOCK_CREATE_RULESET_VERSION>" |
| 206 |
msgstr "" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
msgid "" |
| 211 |
"Return the highest supported Landlock ABI version (starting at 1). This " |
| 212 |
"version can be used for a best-effort security approach, which is encouraged " |
| 213 |
"when user space is not pinned to a specific kernel version." |
| 214 |
msgstr "" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"Unless noted otherwise, all features documented in these manual pages are " |
| 220 |
"available with the version 1." |
| 221 |
msgstr "" |
| 222 |
|
| 223 |
#. type: TP |
| 224 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 225 |
#, no-wrap |
| 226 |
msgid "B<LANDLOCK_CREATE_RULESET_ERRATA>" |
| 227 |
msgstr "" |
| 228 |
|
| 229 |
#. type: Plain text |
| 230 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
msgid "" |
| 232 |
"Return a bitmask of fixed issues for the current Landlock ABI version. If " |
| 233 |
"bit N is set (i.e., I<errata\\ &\\ (1\\ E<lt>E<lt>\\ (N\\ -\\ 1))>), then " |
| 234 |
"erratum N has been fixed in the running kernel." |
| 235 |
msgstr "" |
| 236 |
|
| 237 |
#. type: Plain text |
| 238 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
msgid "" |
| 240 |
"In addition to ABI versions, Landlock's errata mechanism tracks fixes for " |
| 241 |
"issues that may affect backwards compatibility or require userspace " |
| 242 |
"awareness." |
| 243 |
msgstr "" |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"Only check errata if your application specifically relies on behavior that " |
| 249 |
"changed due to the fix." |
| 250 |
msgstr "" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
msgid "" |
| 255 |
"The full list of Landlock errata is available at E<.UR https:\\://" |
| 256 |
"docs.kernel.org/\\:userspace-api/\\:landlock.html#landlock-errata> E<.UE .>" |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 261 |
msgid "" |
| 262 |
"This flag is available on all Linux versions where Landlock errata were " |
| 263 |
"fixed. This specifically includes all newest bugfix releases of stable " |
| 264 |
"kernels where Landlock is supported." |
| 265 |
msgstr "" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "" |
| 270 |
"If B<LANDLOCK_CREATE_RULESET_VERSION> or B<LANDLOCK_CREATE_RULESET_ERRATA> " |
| 271 |
"is set, then I<attr> must be NULL and I<size> must be 0." |
| 272 |
msgstr "" |
| 273 |
|
| 274 |
#. type: SH |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
#, no-wrap |
| 278 |
msgid "RETURN VALUE" |
| 279 |
msgstr "" |
| 280 |
|
| 281 |
#. type: Plain text |
| 282 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "" |
| 284 |
"On success, B<landlock_create_ruleset>() returns a new Landlock ruleset " |
| 285 |
"file descriptor, a Landlock ABI version, or a Landlock errata bitmask, " |
| 286 |
"according to I<flags>." |
| 287 |
msgstr "" |
| 288 |
|
| 289 |
#. type: Plain text |
| 290 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "On error, -1 is returned and I<errno> is set to indicate the error." |
| 292 |
msgstr "" |
| 293 |
|
| 294 |
#. type: SH |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
#, no-wrap |
| 298 |
msgid "ERRORS" |
| 299 |
msgstr "" |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "B<landlock_create_ruleset>() can fail for the following reasons:" |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: TP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<E2BIG>" |
| 312 |
msgstr "" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
msgid "I<size> is too big." |
| 318 |
msgstr "" |
| 319 |
|
| 320 |
#. type: TP |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
#, no-wrap |
| 324 |
msgid "B<EFAULT>" |
| 325 |
msgstr "" |
| 326 |
|
| 327 |
#. type: Plain text |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
msgid "I<attr> was not a valid address." |
| 331 |
msgstr "" |
| 332 |
|
| 333 |
#. type: TP |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
#, no-wrap |
| 337 |
msgid "B<EINVAL>" |
| 338 |
msgstr "" |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "" |
| 343 |
"Unknown I<flags>, or unknown access, or unknown scope, or too small I<size>." |
| 344 |
msgstr "" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
msgid "" |
| 349 |
"Non-NULL I<attr> or non-zero I<size> in combination with " |
| 350 |
"B<LANDLOCK_CREATE_RULESET_VERSION> or B<LANDLOCK_CREATE_RULESET_ERRATA>." |
| 351 |
msgstr "" |
| 352 |
|
| 353 |
#. type: TP |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "B<ENOMSG>" |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 362 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
msgid "" |
| 364 |
"Empty accesses (i.e., I<attr> did not specify any access rights to restrict)." |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: TP |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "B<EOPNOTSUPP>" |
| 372 |
msgstr "" |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
msgid "Landlock is supported by the kernel but disabled at boot time." |
| 378 |
msgstr "" |
| 379 |
|
| 380 |
#. type: SH |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
#, no-wrap |
| 384 |
msgid "STANDARDS" |
| 385 |
msgstr "" |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "Linux." |
| 391 |
msgstr "" |
| 392 |
|
| 393 |
#. type: SH |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "HISTORY" |
| 398 |
msgstr "" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "Linux 5.13." |
| 404 |
msgstr "" |
| 405 |
|
| 406 |
#. type: SH |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "EXAMPLES" |
| 411 |
msgstr "" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
msgid "See B<landlock>(7)." |
| 417 |
msgstr "" |
| 418 |
|
| 419 |
#. type: SH |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
#, no-wrap |
| 423 |
msgid "SEE ALSO" |
| 424 |
msgstr "" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
msgid "B<landlock_add_rule>(2), B<landlock_restrict_self>(2), B<landlock>(7)" |
| 430 |
msgstr "" |
| 431 |
|
| 432 |
#. type: TH |
| 433 |
#: debian-trixie |
| 434 |
#, no-wrap |
| 435 |
msgid "2024-05-02" |
| 436 |
msgstr "" |
| 437 |
|
| 438 |
#. type: TH |
| 439 |
#: debian-trixie |
| 440 |
#, no-wrap |
| 441 |
msgid "Linux man-pages 6.9.1" |
| 442 |
msgstr "" |
| 443 |
|
| 444 |
#. type: Plain text |
| 445 |
#: debian-trixie |
| 446 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 447 |
msgstr "" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: debian-trixie |
| 451 |
#, no-wrap |
| 452 |
msgid "" |
| 453 |
"B<#include E<lt>linux/landlock.hE<gt>> /* Definition of B<LANDLOCK_*> constants */\n" |
| 454 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 455 |
msgstr "" |
| 456 |
|
| 457 |
#. type: Plain text |
| 458 |
#: debian-trixie |
| 459 |
msgid "" |
| 460 |
"A Landlock ruleset identifies a set of rules (i.e., actions on objects). " |
| 461 |
"This B<landlock_create_ruleset>() system call enables creating a new file " |
| 462 |
"descriptor identifying a ruleset. This file descriptor can then be used by " |
| 463 |
"B<landlock_add_rule>(2) and B<landlock_restrict_self>(2). See " |
| 464 |
"B<landlock>(7) for a global overview." |
| 465 |
msgstr "" |
| 466 |
|
| 467 |
#. type: Plain text |
| 468 |
#: debian-trixie |
| 469 |
#, no-wrap |
| 470 |
msgid "" |
| 471 |
"struct landlock_ruleset_attr {\n" |
| 472 |
" __u64 handled_access_fs;\n" |
| 473 |
"};\n" |
| 474 |
msgstr "" |
| 475 |
|
| 476 |
#. type: Plain text |
| 477 |
#: debian-trixie |
| 478 |
msgid "" |
| 479 |
"I<handled_access_fs> is a bitmask of actions that is handled by this ruleset " |
| 480 |
"and should then be forbidden if no rule explicitly allows them (see " |
| 481 |
"B<Filesystem actions> in B<landlock>(7)). This enables simply restricting " |
| 482 |
"ambient rights (e.g., global filesystem access) and is needed for " |
| 483 |
"compatibility reasons." |
| 484 |
msgstr "" |
| 485 |
|
| 486 |
#. type: Plain text |
| 487 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 488 |
msgid "" |
| 489 |
"If I<attr> is NULL and I<size> is 0, then the returned value is the highest " |
| 490 |
"supported Landlock ABI version (starting at 1). This version can be used " |
| 491 |
"for a best-effort security approach, which is encouraged when user space is " |
| 492 |
"not pinned to a specific kernel version. All features documented in these " |
| 493 |
"man pages are available with the version 1." |
| 494 |
msgstr "" |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
#: debian-trixie |
| 498 |
msgid "" |
| 499 |
"On success, B<landlock_create_ruleset>() returns a new Landlock ruleset " |
| 500 |
"file descriptor, or a Landlock ABI version, according to I<flags>." |
| 501 |
msgstr "" |
| 502 |
|
| 503 |
#. type: Plain text |
| 504 |
#: debian-trixie fedora-44 fedora-rawhide mageia-cauldron |
| 505 |
msgid "Unknown I<flags>, or unknown access, or too small I<size>." |
| 506 |
msgstr "" |
| 507 |
|
| 508 |
#. type: Plain text |
| 509 |
#: debian-trixie |
| 510 |
msgid "Empty accesses (i.e., I<attr-E<gt>handled_access_fs> is 0)." |
| 511 |
msgstr "" |
| 512 |
|
| 513 |
#. type: TH |
| 514 |
#: fedora-44 fedora-rawhide |
| 515 |
#, no-wrap |
| 516 |
msgid "2024-11-26" |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. type: TH |
| 520 |
#: fedora-44 fedora-rawhide |
| 521 |
#, no-wrap |
| 522 |
msgid "Linux man-pages 6.13" |
| 523 |
msgstr "" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: fedora-44 fedora-rawhide mageia-cauldron |
| 527 |
#, no-wrap |
| 528 |
msgid "" |
| 529 |
"struct landlock_ruleset_attr {\n" |
| 530 |
" __u64 handled_access_fs;\n" |
| 531 |
" __u64 handled_access_net;\n" |
| 532 |
"};\n" |
| 533 |
msgstr "" |
| 534 |
|
| 535 |
#. type: Plain text |
| 536 |
#: fedora-44 fedora-rawhide mageia-cauldron |
| 537 |
msgid "" |
| 538 |
"On success, B<landlock_create_ruleset>() returns a new Landlock ruleset " |
| 539 |
"file descriptor, or a Landlock ABI version, according to I<flags>. On " |
| 540 |
"error, -1 is returned and I<errno> is set to indicate the error." |
| 541 |
msgstr "" |
| 542 |
|
| 543 |
#. type: TH |
| 544 |
#: mageia-cauldron |
| 545 |
#, no-wrap |
| 546 |
msgid "2026-02-08" |
| 547 |
msgstr "" |
| 548 |
|
| 549 |
#. type: TH |
| 550 |
#: mageia-cauldron |
| 551 |
#, no-wrap |
| 552 |
msgid "Linux man-pages 6.17" |
| 553 |
msgstr "" |
| 554 |
|
| 555 |
#. type: TH |
| 556 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
#, no-wrap |
| 558 |
msgid "Linux man-pages (unreleased)" |
| 559 |
msgstr "" |