diff options
author | 2025-02-05 17:36:50 +0800 | |
---|---|---|
committer | 2025-02-14 09:23:09 +0100 | |
commit | f5534d511bcd273720f168386de74af76e148a9b (patch) | |
tree | 3632b3586d0ef687c3c689b136ea8456c70d96f5 /rust/helpers/helpers.c | |
parent | landlock: Fix non-TCP sockets restriction (diff) | |
download | wireguard-linux-f5534d511bcd273720f168386de74af76e148a9b.tar.xz wireguard-linux-f5534d511bcd273720f168386de74af76e148a9b.zip |
selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP
Extend protocol_variant structure with protocol field (Cf. socket(2)).
Extend protocol fixture with TCP test suits with protocol=IPPROTO_TCP
which can be used as an alias for IPPROTO_IP (=0) in socket(2).
Signed-off-by: Mikhail Ivanov <ivanov.mikhail1@huawei-partners.com>
Link: https://lore.kernel.org/r/20250205093651.1424339-3-ivanov.mikhail1@huawei-partners.com
Cc: <stable@vger.kernel.org> # 6.7.x
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions