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] [day] [month] [year] [list]
Message-ID: <87abbqhywo.fsf@basil.nowhere.org>
Date:	Sun, 23 Nov 2008 23:15:35 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Andreas Dilger <adilger@....com>
Cc:	Alexey Salmin <alexey.salmin@...il.com>,
	Theodore Tso <tytso@....edu>, linux-ext4@...r.kernel.org
Subject: Re: Maximum filename length

Andreas Dilger <adilger@....com> writes:
>
> #define EXT4_FT_ENTRY_3 0x80			/* file_type for dir_entry_3 */
> #define EXT4_FT_MASK    0x0f			/* EXT4_FT_* mask */
> #define EXT4_INODE_MASK 0x00ffffffffffffff	/* 48-bit inode number mask */
> #define EXT4_NAME_LEN3  1012
>
> struct ext4_dir_entry_3 {
> 	__le64 inode;		/* High byte holds file_type */
> 	__le16 rec_len;
> 	__le16 name_len;

The new format should also reserve space for a checksum. Adding that
would be actually a reasonable practical improvement for everyone.

> 	char   name[EXT4_NAME_LEN3];

-Andi

-- 
ak@...ux.intel.com
--
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