Directory Files
.. 36
errata 3
File Size
.audit.o.cmd 78 kB
.built-in.a.cmd 274 B
.cap.o.cmd 78 kB
.cred.o.cmd 78 kB
.domain.o.cmd 77 kB
.fs.o.cmd 78 kB
.id.o.cmd 50 kB
.kunitconfig 164 B
.log.o.cmd 78 kB
.modules.order.cmd 86 B
.net.o.cmd 78 kB
.ns.o.cmd 78 kB
.object.o.cmd 40 kB
.ruleset.o.cmd 73 kB
.setup.o.cmd 78 kB
.syscalls.o.cmd 80 kB
.task.o.cmd 78 kB
.trace.o.cmd 80 kB
.tsync.o.cmd 78 kB
Kconfig 1.5 kB
Makefile 355 B
access.h 6.6 kB
audit.c 7.4 kB
audit.h 994 B
audit.o 29 kB
built-in.a 1.2 kB
cap.c 4.3 kB
cap.h 1.2 kB
cap.o 10 kB
common.h 464 B
cred.c 1.7 kB
cred.h 4.2 kB
cred.o 10 kB
domain.c 22 kB
domain.h 12 kB
domain.o 65 kB
errata.h 2.7 kB
fs.c 69 kB
fs.h 6.0 kB
fs.o 133 kB
id.c 7.5 kB
id.h 521 B
id.o 6.7 kB
limits.h 1.9 kB
log.c 19 kB
log.h 3.3 kB
log.o 35 kB
modules.order 0 B
net.c 12 kB
net.h 839 B
net.o 33 kB
ns.c 6.3 kB
ns.h 381 B
ns.o 16 kB
object.c 1.8 kB
object.h 2.8 kB
object.o 10 kB
ruleset.c 9.7 kB
ruleset.h 7.0 kB
ruleset.o 37 kB
setup.c 1.9 kB
setup.h 529 B
setup.o 13 kB
syscalls.c 30 kB
syscalls.o 77 kB
task.c 15 kB
task.h 326 B
task.o 45 kB
trace.c 15 kB
trace.h 1.1 kB
trace.o 388 kB
tsync.c 18 kB
tsync.h 433 B
tsync.o 49 kB

Linux v7.4-rc3 - landlock

# SPDX-License-Identifier: GPL-2.0-only

config SECURITY_LANDLOCK
	bool "Landlock support"
	depends on SECURITY
	select SECURITY_NETWORK
	select SECURITY_PATH
	help
	  Landlock is a sandboxing mechanism that enables processes to restrict
	  themselves (and their future children) by gradually enforcing
	  tailored access control policies.  A Landlock security policy is a
	  set of access rights (e.g. open a file in read-only, make a
	  directory, etc.) tied to a file hierarchy.  Such policy can be
	  configured and enforced by any processes for themselves using the
	  dedicated system calls: landlock_create_ruleset(),
	  landlock_add_rule(), and landlock_restrict_self().

	  See Documentation/userspace-api/landlock.rst for further information.

	  If you are unsure how to answer this question, answer N.  Otherwise,
	  you should also prepend "landlock," to the content of CONFIG_LSM to
	  enable Landlock at boot time.

config SECURITY_LANDLOCK_LOG
	bool
	depends on SECURITY_LANDLOCK
	default y if AUDIT || TRACEPOINTS

config SECURITY_LANDLOCK_KUNIT_TEST
	bool "KUnit tests for Landlock" if !KUNIT_ALL_TESTS
	depends on KUNIT=y
	depends on SECURITY_LANDLOCK
	default KUNIT_ALL_TESTS
	help
	  Build KUnit tests for Landlock.

	  See the KUnit documentation in Documentation/dev-tools/kunit

	  Run all KUnit tests for Landlock with:
	  ./tools/testing/kunit/kunit.py run --kunitconfig security/landlock

	  If you are unsure how to answer this question, answer N.