[PATCH v4 1/7] landlock: Add UDP bind() access control

sashiko-bot at kernel.org sashiko-bot at kernel.org
Fri Oct 30 04:53:45 UTC 2026


> Add support for a first fine-grained UDP access right.
> LANDLOCK_ACCESS_NET_BIND_UDP controls the ability to set the local port
> of a UDP socket (via bind()). It will be useful for servers (to start
> receiving datagrams), and for some clients that need to use a specific
> source port (e.g. mDNS requires to use port 5353)
> 
> For obvious performance concerns, access control is only enforced when
> configuring sockets, not when using them for common send/recv
> operations.
> 
> Bump ABI to allow userspace to detect and use this new right.
> 
> Signed-off-by: Matthieu Buffet <matthieu at buffet.re>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260502124306.3975990-1-matthieu@buffet.re?part=1




More information about the Linux-security-module-archive mailing list