linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why is O_TMPFILE multiplexed over open() instead of being a separate syscall?
@ 2013-08-01  8:42 Christoph Hellwig
  2013-08-02 12:59 ` Jeff Layton
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2013-08-01  8:42 UTC (permalink / raw)
  To: viro, torvalds; +Cc: linux-fsdevel

Sorry for being a bit late to the game, but..

Why is the useful tmpfile functionality multiplexed over open when it
has very different semantics from a normal open?

In addition to the flag problems already discussed to death it also just
leads to splattering of the code in the implementaiton, given that
path_openat branches out really early in path_openat.

What's the problem with a clear single purpose tmpfile() system call?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-08 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01  8:42 why is O_TMPFILE multiplexed over open() instead of being a separate syscall? Christoph Hellwig
2013-08-02 12:59 ` Jeff Layton
2013-08-08 11:47   ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).