On Mon, 2014-01-27 at 19:53 +0100, Kay Sievers wrote: > >> >> Can we expect open(O_TMPFILE) to fail on kernels which do not support it? > Yeah, but what happens for a "/tmp/does-not-exist" request? :) #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) the O_DIRECTORY part should make it fail.