diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-17 22:08:48 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-17 22:36:21 -0500 |
commit | 1316aae0c862240ff58b1cf38c92cd8cefd02a91 (patch) | |
tree | 234dead03e473b4c7809680ec17b64f6bf61d448 /src/network/htonl.c | |
parent | 0979c50b831c67e0b4f4a560435b867b35cdac67 (diff) | |
download | musl-1316aae0c862240ff58b1cf38c92cd8cefd02a91.tar.gz musl-1316aae0c862240ff58b1cf38c92cd8cefd02a91.tar.bz2 musl-1316aae0c862240ff58b1cf38c92cd8cefd02a91.tar.xz musl-1316aae0c862240ff58b1cf38c92cd8cefd02a91.zip |
abort: raise SIGABRT again if signal is ignored
POSIX requires that abort() gives the SIGABRT status to waitpid(3) and
friends. If a signal handler is installed, and erroneously returns,
then the status given to waitpid(3) is SIGSEGV instead of SIGABRT.
This change gives another opportunity for the proper SIGABRT status to
be given to any process monitoring this one's process, before we fall
back to a_crash(), which should be sufficient.
Diffstat (limited to 'src/network/htonl.c')
0 files changed, 0 insertions, 0 deletions