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: <20170914231130.5t6ndiaortuo42av@thunk.org>
Date:   Thu, 14 Sep 2017 19:11:30 -0400
From:   Theodore Ts'o <tytso@....edu>
To:     Gabriel Krisman Bertazi <krisman@...labora.co.uk>
Cc:     adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org
Subject: Re: [RFC] Ext4 case insensitive proposal

On Fri, Sep 01, 2017 at 02:57:44AM -0300, Gabriel Krisman Bertazi wrote:
> 
> As a follow-up on the discussions held in this list after Ted's proposal
> on case-insensitive support for ext4 last year, I've implemented a my
> version of it to learn my way through the ext4 code, and to get started
> on the task.  As my goal would be a slightly more complex approach, with
> at least UTF-8 support for lookups, I'd like to hear from you about my
> current implementation and the following proposal, as well as if there
> is anyone currently working on anything like this, so we could
> coordinate efforts.
> 
> Regarding the Unicode proposal (shivers), I am aware of Ben and
> Olaf's proposal from 2014, and I plan to work on top of that to get it
> updated and upstream.
> 
> Please, let me know your thoughts.
> 
> * Current Implementation
> 
> Simple learning experience to get the wheel spinning, based on Ted Ts'o
> initial proposal back in 2016 [1].  It supports ASCII-case folding only
> and doesn't rely on on-disk modifications.

This isn't a complete implementation of my proposal.  In particular
one of the things which is missing is:

   1.  If case-insensitivity is enabled, override the default dcache hash
   and compare operations to ones that are case insensitive in ext4's
   dcache_operations structure.

This is needed so there is a single dcache entry for case-folded file
names.

						- Ted
						

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ