[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/45572: EFAULT from time(3)
The following reply was made to PR lib/45572; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, lib-bug-people%netbsd.org@localhost,
Subject: Re: lib/45572: EFAULT from time(3)
Date: Sat, 5 Nov 2011 22:18:20 -0400
On Nov 5, 6:40pm, dholland-bugs%netbsd.org@localhost (David Holland) wrote:
-- Subject: Re: lib/45572: EFAULT from time(3)
| If the stars are aligned just so, it *can* fail and return EFAULT.
| Also, based on this text in errno(2) I think it would be better to
| change the man page back:
| 14 EFAULT Bad address. The system detected an invalid address in
| attempting to use an argument of a call. The reliable
| of this error cannot be guaranteed and when not detected may
| result in the generation of a signal, indicating an address
| lation, which is sent to the process.
| I have argued in the past that all syscalls returning EFAULT should
| also post SIGSEGV; there are a number of reasons that's desirable.
And the siginfo information should point to what PC? How is the debugger
supposed to behave?
Main Index |
Thread Index |