diff options
| author | 2025-09-19 13:35:33 +0800 | |
|---|---|---|
| committer | 2025-09-22 11:37:20 -0700 | |
| commit | 50d51cef555ee42fe47dd51b71366a77895e5f0b (patch) | |
| tree | 12b467e07ed000ad07f44538a8820ac11813f60a /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | Merge branch 'net-netpoll-remove-dead-code-and-speed-up-rtnl-locked-region' (diff) | |
selftests: forwarding: Reorder (ar)ping arguments to obey POSIX getopt
Quoted from musl wiki:
GNU getopt permutes argv to pull options to the front, ahead of
non-option arguments. musl and the POSIX standard getopt stop
processing options at the first non-option argument with no
permutation.
Thus these scripts stop working on musl since non-option arguments for
tools using getopt() (in this case, (ar)ping) do not always come last.
Fix it by reordering arguments.
Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20250919053538.1106753-1-mmyangfl@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
