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  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 16 Dec 2020 10:55:16 +0530
From:   Siddhesh Poyarekar <>
To:     Al Viro <>
        Florian Weimer <>
Subject: Re: [PATCH v2] proc: Escape more characters in /proc/mounts output

On 12/16/20 10:03 AM, Al Viro wrote:
> Once more, with feeling: why bother?  What's wrong
> with using the damn strndup_user() and then doing
> whatever checks you want with the data already
> copied, living in normal kernel memory, with all
> string functions applicable, etc.?

I was trying to avoid the allocation, but I reckon it is pointless to 
micro-optimize the invalid case.  I'll send v3.


Powered by blists - more mailing lists