lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 18 Nov 2008 02:06:19 +0530
From:	Kalpak Shah <Kalpak.Shah@....COM>
To:	linux-ext4 <linux-ext4@...r.kernel.org>
Cc:	TheodoreTso <tytso@....edu>, Andreas Dilger <adilger@....COM>
Subject: [PATCH 1/2 e2fsprogs] support for large EAs

Hi,

This patch adds large EA support for e2fsprogs.

- add EXT4_FEATURE_INCOMPAT_EA_INODE feature
- inode_ea_map bitmap is added for tracking non-orphan EA inodes. Orphan EA inodes get linked to lost+found.
- xattr handling is needed for deleting corrupt EA entries

Ted, this patch is actually based on top of the e2fsprogs-expand-extra-isize.patch I had sent about a month back. If you are satisfied with the approach, I can send a patch series which applies to the tip of the e2fsprogs tree.

Signed-off-by: Andreas Dilger <adilger@....com>
Signed-off-by: Kalpak Shah <kalpak.shah@....com>

 e2fsck/e2fsck.h            |    1 
 e2fsck/pass1.c             |  199 ++++++++++++++++++++++++++++++++++++---------
 e2fsck/pass4.c             |   17 +++
 e2fsck/problem.c           |   24 +++++
 e2fsck/problem.h           |   13 ++
 lib/blkid/probe.h          |    1 
 lib/e2p/feature.c          |    2 
 lib/ext2fs/ext2_ext_attr.h |    5 -
 lib/ext2fs/ext2_fs.h       |    5 -
 lib/ext2fs/ext2fs.h        |    6 -
 lib/ext2fs/ext_attr.c      |   27 ++++--
 lib/ext2fs/swapfs.c        |    2 
 misc/mke2fs.c              |    3 
 misc/tune2fs.c             |    6 +
 14 files changed, 259 insertions(+), 52 deletions(-)

Thanks,
Kalpak

View attachment "e2fsprogs-large-xattrs.patch" of type "text/x-patch" (22356 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ