All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/3] Fix non-TCP sockets restriction
@ 2025-02-05  9:36 Mikhail Ivanov
  2025-02-05  9:36 ` [RFC PATCH v3 1/3] landlock: " Mikhail Ivanov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Mikhail Ivanov @ 2025-02-05  9:36 UTC (permalink / raw)
  To: mic, gnoack
  Cc: willemdebruijn.kernel, matthieu, linux-security-module, netdev,
	netfilter-devel, yusongping, artem.kuzin, konstantin.meskhidze

Hello!

This patch fixes incorrect restriction of non-TCP bind/connect actions.
There is two commits that extend TCP tests with MPTCP test suits and
IPPROTO_TCP test suits.

Closes: https://github.com/landlock-lsm/linux/issues/40

General changes after v2
========================
 * Rebases on current linux-mic/next
 * Extracts non-TCP restriction fix into separate patchset

Previous versions
=================
v2: https://lore.kernel.org/all/20241017110454.265818-1-ivanov.mikhail1@huawei-partners.com/
v1: https://lore.kernel.org/all/20241003143932.2431249-1-ivanov.mikhail1@huawei-partners.com/

Mikhail Ivanov (3):
  landlock: Fix non-TCP sockets restriction
  selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP
  selftests/landlock: Test that MPTCP actions are not restricted

 security/landlock/net.c                     |   3 +-
 tools/testing/selftests/landlock/common.h   |   1 +
 tools/testing/selftests/landlock/config     |   2 +
 tools/testing/selftests/landlock/net_test.c | 124 +++++++++++++++++---
 4 files changed, 114 insertions(+), 16 deletions(-)


base-commit: 24a8e44deae4b549b0fe5fbb271fe8d169f0933f
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-21 16:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05  9:36 [RFC PATCH v3 0/3] Fix non-TCP sockets restriction Mikhail Ivanov
2025-02-05  9:36 ` [RFC PATCH v3 1/3] landlock: " Mikhail Ivanov
2025-02-05  9:36 ` [RFC PATCH v3 2/3] selftests/landlock: Test TCP accesses with protocol=IPPROTO_TCP Mikhail Ivanov
2025-02-05  9:36 ` [RFC PATCH v3 3/3] selftests/landlock: Test that MPTCP actions are not restricted Mikhail Ivanov
2025-02-21 16:09 ` [RFC PATCH v3 0/3] Fix non-TCP sockets restriction Mickaël Salaün

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.