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: <15003.1529008242@warthog.procyon.org.uk>
Date:   Thu, 14 Jun 2018 21:30:42 +0100
From:   David Howells <dhowells@...hat.com>
To:     Alexey Dobriyan <adobriyan@...il.com>
Cc:     dhowells@...hat.com, viro@...iv.linux.org.uk,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] proc: Make inline name size calculation automatic

Alexey Dobriyan <adobriyan@...il.com> wrote:

> > Require a minimum inline name size of 33+1 to allow for names that look
> > like two hex numbers with a dash between.
> 
> Why 34? /proc will fallback to separate allocation for name anyway.

See above comment.  I ran find on /proc and there were a bunch of files whose
names were "<hex>-<hex>".  Allow for 16-char hex addresses and add a NUL char
to that and you get 34.

David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ