(minor) podman kill: should do input validation #4746
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Looks like podman is accepting any int, casting to ulong, and passing it along:
Would it make sense to validate against
SIGRTMAX
before accepting it?And, for the sake of discussion, I feel it might be a nice courtesy to accept a signed int and run
abs()
on it. Those of us with fingers trained to typekill -N
would appreciate it.Oh, also,
kill -s 0
throws an error (invalid signal). This is what docker does, so we might need to keep it for compatibility, but it could also be nice to replicate standardkill -0
behavior (exit 0 if container exists).The text was updated successfully, but these errors were encountered: