Exploiting symlinks and tmpfiles
Posted Sep 20, 2007 9:51 UTC (Thu) by
epa (subscriber, #39769)
In reply to:
Exploiting symlinks and tmpfiles by intgr
Parent article:
Exploiting symlinks and tmpfiles
Indeed, why shouldn't O_CREAT and O_EXCL be the default (clunky but safe) behaviour - and if your program needs to overwrite an existing file rather than creating a new one, you can give a flag to specify this unusual behaviour.
Well, like C string functions, I guess it's too late to fix these design decisions now.
(
Log in to post comments)