1 # SPDX-License-Identifier: GPL-2.0-only
3 config SECURITY_LANDLOCK
4 bool "Landlock support"
6 select SECURITY_NETWORK
9 Landlock is a sandboxing mechanism that enables processes to restrict
10 themselves (and their future children) by gradually enforcing
11 tailored access control policies. A Landlock security policy is a
12 set of access rights (e.g. open a file in read-only, make a
13 directory, etc.) tied to a file hierarchy. Such policy can be
14 configured and enforced by any processes for themselves using the
15 dedicated system calls: landlock_create_ruleset(),
16 landlock_add_rule(), and landlock_restrict_self().
18 See Documentation/userspace-api/landlock.rst for further information.
20 If you are unsure how to answer this question, answer N. Otherwise,
21 you should also prepend "landlock," to the content of CONFIG_LSM to
22 enable Landlock at boot time.