summaryrefslogtreecommitdiff
path: root/fs/ext4/ioctl.c
diff options
context:
space:
mode:
authorLeah Rumancik <leah.rumancik@gmail.com>2021-04-22 21:08:34 +0300
committerTheodore Ts'o <tytso@mit.edu>2021-04-22 23:51:23 +0300
commit6c0912739699d8e4b6a87086401bf3ad3c59502d (patch)
tree3c418e18dc009422a2c63e4b244da2afdd58f36a /fs/ext4/ioctl.c
parent5899593f51e63dde2f07c67358bd65a641585abb (diff)
downloadlinux-6c0912739699d8e4b6a87086401bf3ad3c59502d.tar.xz
ext4: wipe ext4_dir_entry2 upon file deletion
Upon file deletion, zero out all fields in ext4_dir_entry2 besides rec_len. In case sensitive data is stored in filenames, this ensures no potentially sensitive data is left in the directory entry upon deletion. Also, wipe these fields upon moving a directory entry during the conversion to an htree and when splitting htree nodes. The data wiped may still exist in the journal, but there are future commits planned to address this. Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com> Link: https://lore.kernel.org/r/20210422180834.2242353-1-leah.rumancik@gmail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ioctl.c')
0 files changed, 0 insertions, 0 deletions