diff options
| author | Mickaël Salaün <mic@linux.microsoft.com> | 2024-09-30 10:36:22 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-09-30 11:08:28 +0000 |
| commit | bbd4e0a400943c9e45e1249ace6c202162a23bae (patch) | |
| tree | e92fcff1c8c1a3a22acfc7b4f6e98957eb8aeb2b /sys/linux/landlock.txt.const | |
| parent | 179f40292f64debb6b3ea2fe5e950f62f5a05a18 (diff) | |
sys/linux: add Landlock scopes for Linux 6.12
Add new the landlock_ruleset_attr's "scoped" field and related flags for
Linux 6.12: LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET and
LANDLOCK_SCOPE_SIGNAL.
Update tests with the new landlock_ruleset_attr's field.
Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Diffstat (limited to 'sys/linux/landlock.txt.const')
| -rw-r--r-- | sys/linux/landlock.txt.const | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/landlock.txt.const b/sys/linux/landlock.txt.const index 1fce9aa48..142c76bf1 100644 --- a/sys/linux/landlock.txt.const +++ b/sys/linux/landlock.txt.const @@ -20,6 +20,8 @@ LANDLOCK_ACCESS_NET_BIND_TCP = 1 LANDLOCK_ACCESS_NET_CONNECT_TCP = 2 LANDLOCK_RULE_NET_PORT = 2 LANDLOCK_RULE_PATH_BENEATH = 1 +LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET = 1 +LANDLOCK_SCOPE_SIGNAL = 2 __NR_landlock_add_rule = 445, mips64le:5445 __NR_landlock_create_ruleset = 444, mips64le:5444 __NR_landlock_restrict_self = 446, mips64le:5446 |
