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/
Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
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