# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:29+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "landlock_create_ruleset" msgstr "" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-04-21" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "landlock_create_ruleset - create a new Landlock ruleset" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#include Elinux/landlock.hE> /* Definition of B constants */\n" "B<#include Esys/syscall.hE> /* Definition of B constants */\n" "B<#include Eunistd.hE>\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B\n" "B< const struct landlock_ruleset_attr *>IB<,>\n" "B< size_t >IB< , uint32_t >IB<);>\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A Landlock ruleset identifies a set of rules (i.e., actions on objects). " "This B() system call creates a new file descriptor " "which identifies a ruleset. This file descriptor can then be used by " "B(2) and B(2). See " "B(7) for a global overview." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I specifies the properties of the new ruleset. It points to the " "following structure:" msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct landlock_ruleset_attr {\n" " __u64 handled_access_fs;\n" " __u64 handled_access_net;\n" " __u64 scoped;\n" "};\n" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is a bitmask of handled filesystem actions (see " "B in B(7))." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is a bitmask of handled network actions (see B in B(7))." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is a bitmask of scope flags (see B in B(7))." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This structure defines a set of I, a set of actions " "on different object types, which should be denied by default when the " "ruleset is enacted. Vice versa, access rights that are not specifically " "listed here are not going to be denied by this ruleset when it is enacted." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For historical reasons, the B right is always " "denied by default, even when its bit is not set in I. In " "order to add new rules with this access right, the bit must still be set " "explicitly (see B in B(7))." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The explicit listing of I is required for backwards " "compatibility reasons. In most use cases, processes that use Landlock will " "I a wide range or all access rights that they know about at build " "time (and that they have tested with a kernel that supported them all)." msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "This structure can grow in future Landlock versions." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I must be specified as I for " "compatibility reasons." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I must be 0 if I is used. Otherwise, I can be set to:" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Return the highest supported Landlock ABI version (starting at 1). This " "version can be used for a best-effort security approach, which is encouraged " "when user space is not pinned to a specific kernel version." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unless noted otherwise, all features documented in these manual pages are " "available with the version 1." msgstr "" #. type: TP #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Return a bitmask of fixed issues for the current Landlock ABI version. If " "bit N is set (i.e., IE\\ (N\\ -\\ 1))>), then " "erratum N has been fixed in the running kernel." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In addition to ABI versions, Landlock's errata mechanism tracks fixes for " "issues that may affect backwards compatibility or require userspace " "awareness." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Only check errata if your application specifically relies on behavior that " "changed due to the fix." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The full list of Landlock errata is available at E<.UR https:\\://" "docs.kernel.org/\\:userspace-api/\\:landlock.html#landlock-errata> E<.UE .>" msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag is available on all Linux versions where Landlock errata were " "fixed. This specifically includes all newest bugfix releases of stable " "kernels where Landlock is supported." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If B or B " "is set, then I must be NULL and I must be 0." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, B() returns a new Landlock ruleset " "file descriptor, a Landlock ABI version, or a Landlock errata bitmask, " "according to I." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "On error, -1 is returned and I is set to indicate the error." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B() can fail for the following reasons:" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I is too big." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "I was not a valid address." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Unknown I, or unknown access, or unknown scope, or too small I." msgstr "" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Non-NULL I or non-zero I in combination with " "B or B." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Empty accesses (i.e., I did not specify any access rights to restrict)." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Landlock is supported by the kernel but disabled at boot time." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Linux 5.13." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "See B(7)." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(2), B(2), B(7)" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "B<#include Elinux/landlock.hE> /* Definition of B constants */\n" "B<#include Esys/syscall.hE> /* Definition of B constants */\n" msgstr "" #. type: Plain text #: debian-trixie msgid "" "A Landlock ruleset identifies a set of rules (i.e., actions on objects). " "This B() system call enables creating a new file " "descriptor identifying a ruleset. This file descriptor can then be used by " "B(2) and B(2). See " "B(7) for a global overview." msgstr "" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct landlock_ruleset_attr {\n" " __u64 handled_access_fs;\n" "};\n" msgstr "" #. type: Plain text #: debian-trixie msgid "" "I is a bitmask of actions that is handled by this ruleset " "and should then be forbidden if no rule explicitly allows them (see " "B in B(7)). This enables simply restricting " "ambient rights (e.g., global filesystem access) and is needed for " "compatibility reasons." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "If I is NULL and I is 0, then the returned value is the highest " "supported Landlock ABI version (starting at 1). This version can be used " "for a best-effort security approach, which is encouraged when user space is " "not pinned to a specific kernel version. All features documented in these " "man pages are available with the version 1." msgstr "" #. type: Plain text #: debian-trixie msgid "" "On success, B() returns a new Landlock ruleset " "file descriptor, or a Landlock ABI version, according to I." msgstr "" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "Unknown I, or unknown access, or too small I." msgstr "" #. type: Plain text #: debian-trixie msgid "Empty accesses (i.e., Ihandled_access_fs> is 0)." msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-26" msgstr "" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "struct landlock_ruleset_attr {\n" " __u64 handled_access_fs;\n" " __u64 handled_access_net;\n" "};\n" msgstr "" #. type: Plain text #: fedora-44 fedora-rawhide mageia-cauldron msgid "" "On success, B() returns a new Landlock ruleset " "file descriptor, or a Landlock ABI version, according to I. On " "error, -1 is returned and I is set to indicate the error." msgstr "" #. type: TH #: mageia-cauldron #, no-wrap msgid "2026-02-08" msgstr "" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr ""