On Mon, Aug 29, 2016 at 06:05:50PM +0300, Andrey Chernov wrote:
> No surprise since they all share the same initial implementation. You
> can add NetBSD and OpenBSD too. Errno clearing as undocumented side
> effect is not what we need, and every system documents that user must
> clear errno.
Of course they do not share initial implementation. Solaris ptrace(2) is
the recent clean room implementation of the interface on top of their
procfs(4).  Glibc provides the code specific to linux, and they only
clear errno for requests which might return -1 legitimately, and only do
it after.

I would understand your argument if I referenced Open/NetBSD, but I did not.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to