]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add verifier check for symlink with append/immutable flags
authorLuis R. Rodriguez <mcgrof@kernel.org>
Sun, 13 May 2018 20:45:56 +0000 (16:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 May 2018 20:45:56 +0000 (16:45 -0400)
commit936b815499165a021e6459949d71e955955e2ae2
tree41abc900ed27d46cb27466a562babf2a443af09e
parent4a86ae504f0d11eb236d8e1d58d367cf11d6d108
ext4: add verifier check for symlink with append/immutable flags

The Linux VFS does not allow a way to set append/immuttable
attributes to symlinks, this is just not possible. If this is
detected inform the user as the filesystem must be corrupted.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/inode.c