mbox series

[v2,0/3] samples/landlock: Fix port parsing behaviour

Message ID 20241003004712.255126-1-matthieu@buffet.re (mailing list archive)
Headers show
Series samples/landlock: Fix port parsing behaviour | expand

Message

Matthieu Buffet Oct. 3, 2024, 12:47 a.m. UTC
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