summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tempnam.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* GNU ld has prefixed the contents of .gnu.warning.SYMBOL sectionstb2017-11-281-2/+2
| | | | | | | | with "warning: " since 2003, so the messages themselves need not contain the prefix anymore. From Scott Cheloha ok jca, deraadt
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-311-3/+1
| | | | | | | | | | | | wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here. tests clean on i386, amd64, sparc64, powerpc, and mips64 naming feedback from kettenis@ and millert@ ok kettenis@
* fix memory leaks in tempnam(3) error pathsjsg2015-03-231-5/+6
| | | | ok miod@ millert@ krw@ guenther@
* Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,millert2013-09-301-12/+12
| | | | MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@
* Add some more truncation checks for path construction in tmpnam(3).moritz2007-09-211-8/+24
| | | | ok ray@
* Prevent out-of-bounds memory access in tempnam(3), if the environmentmoritz2007-09-171-3/+4
| | | | | | variable TMPDIR or the argument `dir' is an empty string. With and ok millert@ ray@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* deregister + ansify, no change in object code. ok deraadt@ millert@otto2004-09-281-3/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-2/+2
|
* a first pass at -Wallderaadt2001-07-091-6/+6
|
* 10 X's for mktemp() and mkstemp().millert1997-04-031-3/+3
|
* more XXXX for mktempderaadt1997-02-121-5/+5
|
* back out my last change to avoid the __warn_references on the mips - it'sgraichen1997-01-201-3/+1
| | | | now done for the pmax like for the arc in machine/cdefs.h
* put all the __warn_references behind a #ifndef NO_WARN_REFERENCES whichgraichen1997-01-191-1/+3
| | | | | is then set in the libc Makefile for the mips (the mips linker can't handle them)
* 95% of common uses of these are incorrect and insecure. correct use isderaadt1996-12-281-5/+10
| | | | incredibly rare. Time for some education!
* issetugid backwards, duh; thanks bitbltderaadt1996-09-051-2/+2
|
* use issetugid()deraadt1996-08-251-2/+2
|
* Fix RCS idstholo1996-08-191-6/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+92