Linux kernel source tree
Go to file
Tahera Fahimi 21d52e295a
landlock: Add abstract UNIX socket scoping
Introduce a new "scoped" member to landlock_ruleset_attr that can
specify LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET to restrict connection to
abstract UNIX sockets from a process outside of the socket's domain.

Two hooks are implemented to enforce these restrictions:
unix_stream_connect and unix_may_send.

Closes: https://github.com/landlock-lsm/linux/issues/7
Signed-off-by: Tahera Fahimi <fahimitahera@gmail.com>
Link: https://lore.kernel.org/r/5f7ad85243b78427242275b93481cfc7c127764b.1725494372.git.fahimitahera@gmail.com
[mic: Fix commit message formatting, improve documentation, simplify
hook_unix_may_send(), and cosmetic fixes including rename of
LANDLOCK_SCOPED_ABSTRACT_UNIX_SOCKET]
Co-developed-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2024-09-16 23:50:45 +02:00
arch Power management updates for 6.12-rc1 2024-09-16 07:47:50 +02:00
block lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
certs
crypto crypto: aegis128 - Fix indentation issue in crypto_aegis128_process_crypt() 2024-09-13 18:26:52 +08:00
Documentation lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
drivers lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
fs lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
include landlock: Add abstract UNIX socket scoping 2024-09-16 23:50:45 +02:00
init lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
io_uring for-6.12/io_uring-discard-20240913 2024-09-16 13:50:14 +02:00
ipc
kernel audit/stable-6.12 PR 20240911 2024-09-16 16:52:37 +02:00
lib vfs-6.12.netfs 2024-09-16 12:13:31 +02:00
LICENSES
mm for-6.12/io_uring-discard-20240913 2024-09-16 13:50:14 +02:00
net vfs-6.12.file 2024-09-16 09:14:02 +02:00
rust
samples
scripts lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
security landlock: Add abstract UNIX socket scoping 2024-09-16 23:50:45 +02:00
sound sound fixes for 6.11 2024-09-14 11:54:24 +02:00
tools landlock: Add abstract UNIX socket scoping 2024-09-16 23:50:45 +02:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap sound fixes for 6.11 2024-09-14 11:54:24 +02:00
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS lsm/stable-6.12 PR 20240911 2024-09-16 18:19:47 +02:00
Makefile Linux 6.11 2024-09-15 16:57:56 +02:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.