Files
moby/contrib
Paweł Gronowski 9e6a3c6ea2 contrib/selinux: Add CIL policy to deny AF_ALG sockets in containers
Add a SELinux CIL module that denies AF_ALG socket creation for all
container domains.

Like AppArmor, SELinux hooks into the kernel's security_socket_create()
LSM callback, blocking AF_ALG regardless of whether the socket was
created via socket(2) or socketcall(2), without disrupting other
socketcall usage by 32-bit binaries.

This is shipped as a standalone CIL file for packaging repos to install
via semodule. It is not loaded by moby itself.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-05-06 15:22:56 +02:00
..
2025-08-01 01:48:55 +02:00

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.