diff options
author | Mikhail Ivanov <ivanov.mikhail1@huawei-partners.com> | 2025-02-05 17:36:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:43 +0100 |
commit | 90c618efaeffa2c7e9244265988558de84e0e640 (patch) | |
tree | da8a32687f281aad5e598756ef37a91679739770 /rust/helpers/build_bug.c | |
parent | 5324c459f90d16b0c43a78b494c598915d782b7a (diff) |
selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP
commit f5534d511bcd273720f168386de74af76e148a9b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions