Skip to contentSkip to conversation

samples/landlock: Fix port parsing behaviour

PATCH Superseded Matthieu Buffet 1 participant 1 message Oct 3, 2024 Security (LSM)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v2 cover samples/landlock: Fix port parsing behaviour

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.

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

Signature · 1 line
2.39.2