lkml.org 
[lkml]   [2008]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectsplice vs O_APPEND
From
Date
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


\
 
 \ /
  Last update: 2008-10-09 17:05    [W:0.042 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site