mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RFC net-next v2 0/3] vsock/test: Improve transport_uaf test
@ 2025-05-28 20:44 Michal Luczaj
  2025-05-28 20:44 ` [PATCH RFC net-next v2 1/3] vsock/test: Introduce vsock_bind_try() helper Michal Luczaj
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Michal Luczaj @ 2025-05-28 20:44 UTC (permalink / raw)
  To: Stefano Garzarella; +Cc: virtualization, netdev, linux-kernel, Michal Luczaj

Increase the coverage of a test implemented in commit 301a62dfb0d0
("vsock/test: Add test for UAF due to socket unbinding"). Take this
opportunity to factor out some utility code, drop a redundant sync between
client and server, and introduce a /proc/kallsyms harvesting logic.

Signed-off-by: Michal Luczaj <mhal@rbox.co>
---
Changes in v2:
- Speed up: don't bother checking EINTR or respecting timeout on connect()s
- Introduce get_transports(), warn on unsupported setup [Stefano]
- Comment the code, drop the sync, introduce vsock_bind_try() [Stefano]
- Link to v1: https://lore.kernel.org/r/20250523-vsock-test-inc-cov-v1-1-fa3507941bbd@rbox.co

---
Michal Luczaj (3):
      vsock/test: Introduce vsock_bind_try() helper
      vsock/test: Introduce get_transports()
      vsock/test: Cover more CIDs in transport_uaf test

 tools/testing/vsock/util.c       | 84 ++++++++++++++++++++++++++++++++++++++--
 tools/testing/vsock/util.h       | 13 +++++++
 tools/testing/vsock/vsock_test.c | 83 ++++++++++++++++++++++++++++++---------
 3 files changed, 158 insertions(+), 22 deletions(-)
---
base-commit: 7e34abd434644fdc3f7efe02a7f0b7947cd06aac
change-id: 20250326-vsock-test-inc-cov-b823822bdb78

Best regards,
-- 
Michal Luczaj <mhal@rbox.co>


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

end of thread, other threads:[~2025-06-11 20:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-28 20:44 [PATCH RFC net-next v2 0/3] vsock/test: Improve transport_uaf test Michal Luczaj
2025-05-28 20:44 ` [PATCH RFC net-next v2 1/3] vsock/test: Introduce vsock_bind_try() helper Michal Luczaj
2025-06-04  9:08   ` Stefano Garzarella
2025-05-28 20:44 ` [PATCH RFC net-next v2 2/3] vsock/test: Introduce get_transports() Michal Luczaj
2025-06-04  9:07   ` Stefano Garzarella
2025-06-04 19:10     ` Michal Luczaj
2025-06-05 10:46       ` Stefano Garzarella
2025-06-06  7:51         ` Michal Luczaj
2025-06-11 14:20           ` Stefano Garzarella
2025-06-11 20:35             ` Michal Luczaj
2025-05-28 20:44 ` [PATCH RFC net-next v2 3/3] vsock/test: Cover more CIDs in transport_uaf test Michal Luczaj
2025-06-04  9:37   ` Stefano Garzarella
2025-06-04 19:11     ` Michal Luczaj
2025-06-05 10:49       ` Stefano Garzarella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®