diff options
author | Mickaël Salaün <[email protected]> | 2021-04-22 17:41:12 +0200 |
---|---|---|
committer | James Morris <[email protected]> | 2021-04-22 12:22:10 -0700 |
commit | ae271c1b14de343b888e77f74f640e3dcbdeb4c9 (patch) | |
tree | 2757621bfb42118d62da6154bfc3adcb9702c87e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 90945448e9830aa1b39d7acaa4e0724a001e2ff8 (diff) |
landlock: Add ruleset and domain management
A Landlock ruleset is mainly a red-black tree with Landlock rules as
nodes. This enables quick update and lookup to match a requested
access, e.g. to a file. A ruleset is usable through a dedicated file
descriptor (cf. following commit implementing syscalls) which enables a
process to create and populate a ruleset with new rules.
A domain is a ruleset tied to a set of processes. This group of rules
defines the security policy enforced on these processes and their future
children. A domain can transition to a new domain which is the
intersection of all its constraints and those of a ruleset provided by
the current process. This modification only impact the current process.
This means that a process can only gain more constraints (i.e. lose
accesses) over time.
Cc: James Morris <[email protected]>
Signed-off-by: Mickaël Salaün <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Jann Horn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions