[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1Knx26-0003ds-Ch@pomaz-ex.szeredi.hu>
Date: Thu, 09 Oct 2008 17:02:30 +0200
From: Miklos Szeredi <miklos@...redi.hu>
To: jens.axboe@...cle.com
CC: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: splice vs O_APPEND
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists