All of lore.kernel.org
 help / color / mirror / Atom feed
* splice vs O_APPEND
@ 2008-10-09 15:02 Miklos Szeredi
  2008-10-09 15:37 ` Linus Torvalds
  0 siblings, 1 reply; 22+ messages in thread
From: Miklos Szeredi @ 2008-10-09 15:02 UTC (permalink / raw)
  To: jens.axboe; +Cc: torvalds, linux-kernel, linux-fsdevel

While looking at the f_pos corruption thing, I found that splice() to
a regular file totally ignores O_APPEND.  Which allows users to bypass
the append-only restriction.  Bad...

The only question is how this should be solved?  Should splice()
respect O_APPEND and ignore the offset?  Or should it just return
-EINVAL?

Thanks,
Miklos

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

end of thread, other threads:[~2008-10-10 16:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-09 15:02 splice vs O_APPEND Miklos Szeredi
2008-10-09 15:37 ` Linus Torvalds
2008-10-09 16:04   ` Miklos Szeredi
2008-10-09 16:17     ` Linus Torvalds
2008-10-09 16:30       ` Miklos Szeredi
2008-10-09 19:22         ` Linus Torvalds
2008-10-09 19:51           ` Miklos Szeredi
2008-10-09 21:14             ` Linus Torvalds
2008-10-09 21:20               ` Jens Axboe
2008-10-09 21:27                 ` Linus Torvalds
2008-10-10  9:46               ` Miklos Szeredi
2008-10-10 10:06                 ` Jens Axboe
2008-10-10 15:49                 ` [stable] " Greg KH
2008-10-10 16:05                   ` Miklos Szeredi
2008-10-10 16:20                     ` Greg KH
     [not found]               ` <alpine.LFD.2.00.0810091411520.3210-nfNrOhbfy2R17+2ddN/4kux8cNe9sq/dYPYVAmT7z5s@public.gmane.org>
2008-10-10 10:23                 ` Michael Kerrisk
2008-10-10 10:23                   ` Michael Kerrisk
2008-10-09 16:30     ` Andreas Schwab
2008-10-09 16:30       ` Andreas Schwab
2008-10-09 16:43       ` Miklos Szeredi
2008-10-09 17:03         ` Andreas Schwab
2008-10-09 17:03           ` Andreas Schwab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.