[PATCH v2 0/3] samples/landlock: Fix port parsing behaviour
From: Matthieu Buffet <hidden>
Date: 2024-10-03 00:46:34
Also in:
lkml
From: Matthieu Buffet <hidden>
Date: 2024-10-03 00:46:34
Also in:
lkml
Hi Mickaël, Mikhail, Thanks for your feedback on my v1. This is the extracted fix for the port parsing part, along with the help message clarification to make the sandboxer sample more user-friendly. I'll apply your suggestions on the rest and send it asap. v2: no semantic change, just selected a subset of diffs and refactored a str2num helper based on your patch, Mikhail. Link: https://lore.kernel.org/lkml/20240916122230.114800-1-matthieu@buffet.re/ (local) Signed-off-by: Matthieu Buffet <redacted> Matthieu Buffet (3): samples/landlock: Fix port parsing in sandboxer samples/landlock: Refactor --help message in function samples/landlock: Clarify option parsing behaviour samples/landlock/sandboxer.c | 128 +++++++++++++++++++++++------------ 1 file changed, 85 insertions(+), 43 deletions(-) base-commit: af3319b445a28d51bf936cf4fe350f9c8eda5a3a -- 2.39.2