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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <F92ABD11-CD88-4A98-A419-D70EBB9AD55A@dilger.ca>
Date:	Fri, 8 Mar 2013 07:00:07 +0800
From:	Andreas Dilger <adilger@...ger.ca>
To:	Jan Kara <jack@...e.cz>
Cc:	Theodore Ts'o <tytso@....edu>, linux-ext4@...r.kernel.org
Subject: Re: Mixup with name_len & file_type in e2fsprogs

On 2013-03-08, at 2:24 AM, Jan Kara wrote:
Won't it be cleaner (and not much
> harder) if we always used ext2_dir_entry_2 in e2fsprogs and properly
> did byte swapping of name_len only if FILETYPE feature isn't enabled?
> I've checked and it would mean changing prototypes of like 8
> functions in ext2fs.h (or better provide new functions with struct
> ext2_dir_entry_2 argument) which doesn't seem too bad... This
> solution seems to be the least surprising to the users of libext2fs
> (esp. if they do some scanning of directory blocks themselves or so).

I've wanted to do this for a while as well.  Or even go further and
just deprecate support for filesystems that don't have the FILETYPE
feature (which has been supported since Linux 1.2 or even earlier).

Cheers, Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ