svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests
Conrad Meyer
cem at freebsd.org
Mon Aug 26 03:50:25 UTC 2019
On Sun, Aug 25, 2019 at 6:47 PM Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
> I wonder if something like this could be done:
Something like it could be; I suggested so two hours ago.
> Somewhere in ping(8):
> bool ping6_compat;
> if (strcmp(argv[0], "ping6")) {
> ping6_compat = true;
You've gotten the sense of the basic C89 function strcmp() backwards.
Maybe it's a security feature that way? You can add HardenedStrcmp to
your Easy Feature Comparison page.
Conrad
More information about the svn-src-all
mailing list