summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/atexit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix all clang warnings in libc regress and cleanup some make files.bluhm2017-07-272-8/+10
|
* Hide __atexit and __atexit_register_cleanup()guenther2015-10-251-2/+3
| | | | | | | | Wrap __cxa_{atexit,finalize}() so the call from exit() goes direct Switch regress/lib/libc/atexit/ to be built with -static so that it can still access __atexit* ok millert@ jca@
* 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@
* add missing CLEANFILES; ok deraadt@david2003-07-311-1/+2
|
* various cleanups; david says results are samederaadt2003-07-311-11/+11
|
* do not use an absolute path in include; dhartmei@ okmickey2002-10-212-3/+4
|
* Move __cleanup into mprotect'ed page to prevent unintentional modificationsdhartmei2002-09-142-10/+20
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* the regress target should be run-regress-atexit_test to avoidavsm2002-09-021-2/+2
| | | | aborting a regress run if it fails
* Try to modify __atexit directly and see if our function gets called.dhartmei2002-07-294-0/+152