selftests/landlock: Add tests for UDP bind/connect

Make basic changes to the existing bind() and connect() test suite to
cover UDP restriction.

Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
Link: https://patch.msgid.link/20260611162107.49278-4-matthieu@buffet.re
[mic: Update audit.connect_bound, fix comment formatting]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
This commit is contained in:
Matthieu Buffet 2026-06-11 18:21:03 +02:00 • committed by Mickaël Salaün
commit 42afa5c467
No known key found for this signature in database
GPG key ID: E5E3D0E88C82F6D2