FreeBSD's mkstemp sets the temporary file's permissions to 600, and has ever since mkstemp was added in 1987. Coverity's warning is still relevant for portable programs since OpenGroup does not require that behavior, and POSIX didn't until 2008. But none of these programs are portable. |
||
---|---|---|
.. | ||
closefrom_test.c | ||
dup_test.c | ||
fcntlflags_test.c | ||
flock_helper.c | ||
flock_test.sh | ||
ftruncate_test.c | ||
Makefile | ||
Makefile.depend | ||
newfileops_on_fork_test.c |