Messages in this thread |  | | | Subject | splice vs O_APPEND | | From | Miklos Szeredi <> | | Date | Thu, 09 Oct 2008 17:02:30 +0200 |
| |
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
|  |