CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/04/26 00:33:29

Modified files:
        lib/libc/stdio : tmpfile.c tmpnam.3 

Log message:
Undo changes to tmpfile.c r1.5.
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@

Reply via email to