summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/exit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Minimize #includes, particularly to avoid thread_private.hguenther2017-08-121-4/+1
| | | | ok tedu@
* Wrap <stdlib.h> so that calls go direct and the symbols not in theguenther2015-09-131-1/+2
| | | | | | C standard are all weak. Apply __{BEGIN,END}_HIDDEN_DECLS to gdtoa{,imp}.h, hiding the arch-specific __strtorx, __ULtox_D2A, __strtorQ, __ULtoQ_D2A symbols.
* Add __cxa_atexit() support for gcc3. This provides support for shared ↵millert2007-09-031-16/+6
| | | | object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* ansi + de-registerpat2005-03-301-5/+4
| | | | ok otto deraadt
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Move __cleanup into mprotect'ed page to prevent unintentional modificationsdhartmei2002-09-141-6/+4
| | | | similar to the atexit handlers. Idea and help deraadt@, ok deraadt@
* re-enable function pointer table protection, this time make sure thatdhartmei2002-08-301-6/+15
| | | | | malloc.c gets the first mmap() call (since it depends on that, for its sbrk(0) use). ok deraadt@
* Back it out, it breaks something in perl (seen with spamassassin), debugdhartmei2002-07-311-15/+6
| | | | first.
* Replace atexit handler. mprotect() the pages so an attempt to modify thedhartmei2002-07-291-6/+15
| | | | | function pointers from the outside will segfault. Idea, hints and feedback from deraadt. ok deraadt.
* include thread_private.hd2000-01-061-1/+2
|
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-1/+10
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+61