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

Mickaël Salaün mic at digikod.net
Thu Jan 25 15:32:28 UTC 2024


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(-)

-- 
2.43.0




More information about the Linux-security-module-archive mailing list