svn commit: r249105 - in head/sys/cam: ata scsi

Bruce Evans brde at optusnet.com.au
Fri Apr 5 20:57:43 UTC 2013


On Fri, 5 Apr 2013 mdf at FreeBSD.org wrote:

> On Fri, Apr 5, 2013 at 8:21 AM, Bruce Evans <brde at optusnet.com.au> wrote:
>
>> This method works well in userland too.  Instead of assert() or abort(),
>> use an null dereference, or more portably, a signal
>
> Digressing quite a bit, doesn't abort() send a signal already, i.e.
> SIGABRT?  And doesn't __assert() call abort()?

Yes, but with assert() the signal occurs deeply nested in a function that
doesn't return.

Bruce


More information about the svn-src-head mailing list