summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpfile.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Undo changes to tmpfile.c r1.5.martijn2019-04-261-15/+3
| | | | | | | | | | | | Doing the fchown call causes pledge("tmppath") to be insufficient and the the umask dance may cause race-conditions in multithreaded applications. Also POSIX states the following nowadays: implementations may restrict the permissions, either by clearing the file mode bits or setting them to the value S_IRUSR | S_IWUSR. Encouraging words from tedu@ Standards verification and OK millert@
* Add framework for resolving (pun intended) libc namespace issues, usingguenther2015-08-311-1/+2
| | | | | | | | | | | | 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@
* Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.espie2005-10-101-1/+2
| | | | | Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
* 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-2/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* need sys/stat.h; jon@chalk.oaktree.net.ukderaadt1998-09-181-1/+2
|
* fchown() after unlink(), taking umask into account; std conformance according to casper@HOLLAND.SUN.COMderaadt1998-03-101-2/+8
|
* 10 X's for mktemp() and mkstemp().millert1997-04-031-2/+2
|
* more XXXX for mktempderaadt1997-02-121-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/+85