diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-09 21:41:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-28 08:29:28 +0200 |
commit | 29171e82348cb0ce787120d42f0b94e8fba2bcae (patch) | |
tree | d6ded874ca5f70983e01ac0e94dc28fb9999966e /include/linux/fs.h | |
parent | 4a5cc64d8a8a0f937e6d857faf571966c903341d (diff) | |
download | linux-stable-29171e82348cb0ce787120d42f0b94e8fba2bcae.tar.gz linux-stable-29171e82348cb0ce787120d42f0b94e8fba2bcae.tar.bz2 linux-stable-29171e82348cb0ce787120d42f0b94e8fba2bcae.zip |
ext4: don't allow any modifications to an immutable file
commit 2e53840362771c73eb0a5ff71611507e64e8eecd upstream.
Don't allow any modifications to a file that's marked immutable, which
means that we have to flush all the writable pages to make the readonly
and we have to check the setattr/setflags parameters more closely.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions