Thread (15 messages) 15 messages, 4 authors, 2011-03-14

Re: [PATCH] Check for immutable flag in fallocate path

From: Marco Stornelli <hidden>
Date: 2011-02-26 14:59:27
Also in: linux-ext4, linux-fsdevel, linux-xfs, lkml

Il 21/02/2011 09:26, Marco Stornelli ha scritto:
From: Marco Stornelli <redacted>

All fs must check for the immutable flag in their fallocate callback.
It's possible to have a race condition in this scenario: an application
open a file in read/write and it does something, meanwhile root set the
immutable flag on the file, the application at that point can call
fallocate with success. Only Ocfs2 check for the immutable flag at the
moment.

Signed-off-by: Marco Stornelli <redacted>
no comments?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help