Date: Mon, 26 Aug 2019 06:47:45 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Conrad Meyer <cem@freebsd.org> Cc: svn-src-head <svn-src-head@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org> Subject: Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests Message-ID: <20190826104745.yykfnboikehj6yxn@mutt-hbsd> In-Reply-To: <CAG6CVpWtJVNeAvX%2BPbGa1RtLFV9f0PfS8eU_6eGZs7wrmVCX2A@mail.gmail.com> References: <201908231522.x7NFMLuJ068037@repo.freebsd.org> <20190826.042056.1329861772202588895.hrs@allbsd.org> <20190826014726.mwddt4uwqoulewhh@mutt-hbsd> <CAG6CVpWtJVNeAvX%2BPbGa1RtLFV9f0PfS8eU_6eGZs7wrmVCX2A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--x3loc3dl7k4nv76w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 25, 2019 at 08:50:11PM -0700, Conrad Meyer wrote: > On Sun, Aug 25, 2019 at 6:47 PM Shawn Webb <shawn.webb@hardenedbsd.org> w= rote: > > I wonder if something like this could be done: >=20 > Something like it could be; I suggested so two hours ago. >=20 > > Somewhere in ping(8): > > bool ping6_compat; > > if (strcmp(argv[0], "ping6")) { > > ping6_compat =3D true; >=20 > 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. I'll keep that in mind should FreeBSD implement it, enabling us to adopt it. :) Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 --x3loc3dl7k4nv76w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl1juMsACgkQ/y5nonf4 4fqsNQ/+KMEhgzIhHK+khIhIoMAiLCArrjt9PUr8u+fFPM+LZ9XaaledMnpaa+0J kEqWVLUyXM/h35gU5bgKcMHLTntpjITdBoq9E/KpnjNVfRRx6QmHIae3a/hvSDDH UOlKgo/2qi713sTysQ+Jb5w8UVMNdyP6b3omTkBRx6tK13q0dJNfNPHRclOHRC9d WovgNOiwwAZP7MibWGFeN8367JjDuWsD3vLj9O17Sf5crK2FDDJ3xrb1qHttvcmB k1cTdwSwBn2qx3umwv7DHuAcVAswQQ+71Sh7Ldhk/zIaP1a9qNyO51wEnY1+sEGU 6k4k2gaA0gGOn3P68Z+s1tZt7qsJm1+OIs/J5rRzbga5yE9pFFekgHnbEMHEsGaX Ie3CYyobDg/6gzkGfl2OmQa+IjqJRwFKsIqxz7tA3cxCQvqGQs3pjTUuV89ySmRT qQCjCCtuKoxWuIU5PEDGe6yKFaRFG4RY1hiUJorLb1OILpaU1bLB74sdai2SJNow 3TtByvYqZBT2tmJwBw3oZ/8fviTajuVWNr2W7kGHHQFSzojovJz8pJgvgVz0F/si Ww7QAfzwJ4LaX+F7LT7a332Sg+O3hhBlw3fPnpqBHrtMjxe62XaNOGiZtkcrTT+f K7kMaMSF3Qwif/rVO5o5EIefg/E1PZ1xipFqejZZkenlNsZIHtA= =FVCC -----END PGP SIGNATURE----- --x3loc3dl7k4nv76w--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190826104745.yykfnboikehj6yxn>