Skip to content

Fix Landlock's net_test for non-root users

Mickaël Salaün linux-kselftest linux-security-module 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2selftests/landlock: Fix capability for net_testtools/testing/selftests/landlock/common.h tools/testing/selftests/landlock/net_test.c+47 -90 replies
2/2selftests/landlock: Clean up error logs related to capabilitiestools/testing/selftests/landlock/common.h+9 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] Fix Landlock's net_test for non-root users

Hi,

This two patches fix an issue when the user running net_test is not root. The second patch simplify test error logs.

Regards,

Mickaël Salaün (2):
selftests/landlock: Fix capability for net_test selftests/landlock: Clean up error logs related to capabilities

 tools/testing/selftests/landlock/common.h   | 88 ++++++++++++---------
 tools/testing/selftests/landlock/net_test.c |  5 +-
 2 files changed, 55 insertions(+), 38 deletions(-)
Signature · 1 line
2.43.0