[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16ce6dc2-6b9c-da02-5737-eb9d26865590@digikod.net>
Date: Thu, 28 Jul 2022 15:24:35 +0200
From: Mickaël Salaün <mic@...ikod.net>
To: Konstantin Meskhidze <konstantin.meskhidze@...wei.com>
Cc: willemdebruijn.kernel@...il.com,
linux-security-module@...r.kernel.org, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, yusongping@...wei.com,
anton.sirazetdinov@...wei.com
Subject: Re: [PATCH v6 11/17] seltests/landlock: adds tests for bind() hooks
On 21/06/2022 10:23, Konstantin Meskhidze wrote:
> Adds selftests for bind() socket action.
> The first is with no landlock restrictions:
> - bind without restrictions for ip4;
> - bind without restrictions for ip6;
> The second ones is with mixed landlock rules:
> - bind with restrictions for ip4;
> - bind with restrictions for ip6;
>
> Signed-off-by: Konstantin Meskhidze <konstantin.meskhidze@...wei.com>
> ---
>
> Changes since v5:
> * Splits commit.
> * Adds local address 127.0.0.1.
> * Adds FIXTURE_VARIANT and FIXTURE_VARIANT_ADD
> helpers to support both ip4 and ip6 family tests and
> shorten the code.
> * Adds create_socket_variant() and bind_variant() helpers.
> * Gets rid of reuse_addr variable in create_socket_variant.
> * Formats code with clang-format-14.
It seems that a formatting pass is missing for FIXTURE_VARIANT().
Powered by blists - more mailing lists