Ingo Schwarze <[email protected]> wrote:
> /*
> * When porting this program to a platform lacking pledge(2),
> * don't forget to at least properly chroot(2) the child instead.
> */
I'm going to translate that to another plausible comment to put
throughout the source tree.
/* When porting this program to a platform lacking strlcpy(3)
* don't forget to avoid buffer overflows with whatever replacement
* functions you use.
*/
But I really don't see the benefit of such lines of text.
Outsiders won't read the text, and it wastes our screen real estate.
> The spamd(8) utility does look like a plausible candidate for porting,
> but i'm not sure how familiar the porters are with OpenBSD ways,
> so the removal of chroot(2) might easily cause misunderstandings.
Well good, I hope they get burned.
People who don't have sufficiently advanced technology need to grow up,
and add such things. This isn't 1980 anymore.