diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-08-31 11:54:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-07 13:47:44 -0800 |
commit | 5f27ddf4395c3ec908dfdd44b0ebbd95a87c1a94 (patch) | |
tree | 87716e85f6106e559d50c0e7dea29d53b9f57940 /security | |
parent | 8f22b38e8446a3bba7a3f54825d5d22c92e2ca5a (diff) |
ext2,ext3,ext4: don't inherit APPEND_FL or IMMUTABLE_FL for new inodes
commit 1cd9f0976aa4606db8d6e3dc3edd0aca8019372a upstream.
This doesn't make much sense, and it exposes a bug in the kernel where
attempts to create a new file in an append-only directory using
O_CREAT will fail (but still leave a zero-length file). This was
discovered when xfstests #79 was generalized so it could run on all
file systems.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions