mbox series

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

Message ID 20240125153230.3817165-1-mic@digikod.net (mailing list archive)
Headers show
Series Fix Landlock's net_test for non-root users | expand

Message

Mickaël Salaün Jan. 25, 2024, 3:32 p.m. UTC
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(-)