diff options
| author | Matthieu Buffet <matthieu@buffet.re> | 2026-06-11 19:21:01 +0300 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-06-14 00:15:04 +0300 |
| commit | 9a8ed15ce22472fe0363e33738b4317d06b13c3a (patch) | |
| tree | 59ac2ed5ec258b69b4a943e07bda1ffd8ed1564f /include/linux/timerqueue.h | |
| parent | 0ce4243509d1580349dd0d50624036d6b097e958 (diff) | |
| download | linux-9a8ed15ce22472fe0363e33738b4317d06b13c3a.tar.xz | |
landlock: Add UDP bind() access control
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@buffet.re>
Link: https://patch.msgid.link/20260611162107.49278-2-matthieu@buffet.re
[mic: Fix comment formatting]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
