summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/atexit/atexit_test.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Ugly workaround to let this compile again on non-clang platforms.miod2024-03-051-1/+9
|
* Fix all clang warnings in libc regress and cleanup some make files.bluhm2017-07-271-1/+4
|
* Use dprintf() instead of fprintf() in the signal handlerguenther2015-10-251-3/+4
|
* Always call atexit handlers as if they were registered with __cxa_atexit.kettenis2014-06-181-5/+5
| | | | | | | | | | | The extra argument doesn't hurt genuine atexit handlers and this fixes a bug where we didn't provide the argument (effectively passing garbage) for functions registered with __cxa_atexit in the main executable. Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes <enh@google.com>. ok matthew@
* Adapt atexit() regress to recent changes and add __cxa_atexit() regress.millert2007-09-031-3/+3
| | | | __cxa_atexit() regress from kurt@
* add missing includesdavid2003-09-021-1/+2
| | | | ok deraadt@ tedu@ dhartmei@ krw@
* various cleanups; david says results are samederaadt2003-07-311-11/+11
|
* do not use an absolute path in include; dhartmei@ okmickey2002-10-211-2/+2
|
* Move __cleanup into mprotect'ed page to prevent unintentional modificationsdhartmei2002-09-141-8/+16
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* Try to modify __atexit directly and see if our function gets called.dhartmei2002-07-291-0/+131