On Sun, Aug 28, 2016 at 03:38:10AM +0300, Andrey Chernov wrote: > On 28.08.2016 2:03, Konstantin Belousov wrote: > > Since ptrace(2) syscall can return -1 for non-error situations, libc > > wrappers set errno to 0 before performing the syscall, as the service > > to the caller. > > Both C99 and POSIX directly prohibits any standard function to set errno > to 0. ptrace() should either choose other errno to indicate non-error > situation or change return -1 to something else. > ptrace(2) is not a standard function. And, we cannot break ABI for the syscall. _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
- svn commit: r304928 - in head/lib/libc: amd64/sys i386... Konstantin Belousov
- Re: svn commit: r304928 - in head/lib/libc: amd64... Andrey Chernov
- Re: svn commit: r304928 - in head/lib/libc: a... Andrey Chernov
- Re: svn commit: r304928 - in head/lib/libc: a... Konstantin Belousov
- Re: svn commit: r304928 - in head/lib/lib... Andrey Chernov
- Re: svn commit: r304928 - in head/lib... Andrey Chernov
- Re: svn commit: r304928 - in head/lib... Konstantin Belousov
- Re: svn commit: r304928 - in hea... Andrey Chernov
- Re: svn commit: r304928 - in... Andrey Chernov
- Re: svn commit: r304928 ... Andrey Chernov
- Re: svn commit: r304928 - in... Konstantin Belousov
- Re: svn commit: r304928 ... Andrey Chernov
- Re: svn commit: r304928 ... Andrey Chernov
- Re: svn commit: r304928 ... Bruce Evans