]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit5fff8c1fdb7390b02f83a29ed2748fac7e712b43
treebf7978b7979f6bd591b2cf55adbb6756c076eabd
parentb65c39a779820bf404f062747063e5bacc044a04
ext4: add verifier check for symlink with append/immutable flags

BugLink: https://bugs.launchpad.net/bugs/1837257
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>
(cherry picked from commit 6390d33bf5d9b24fd4f96e415b6888f59c8494f9)
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
fs/ext4/inode.c