[systemd-devel] [RFC PATCH 1/2] Replace mkostemp+unlink with open(O_TMPFILE)

Cristian Rodríguez crrodriguez at opensuse.org
Mon Jan 27 06:23:17 PST 2014


El 27/01/14 10:52, Lucas De Marchi escribió:

>
> This unlink() doesn't make much sense with O_TMPFILE.

Yup, the name can't be seen in the filesystem and it goes away on 
close() or program termination.

it is more like tmpfile(3) than mkstemp(3)



More information about the systemd-devel mailing list