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]
Date:   Mon, 30 Jul 2018 11:38:47 -0700
From:   Matthew Wilcox <willy@...radead.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Pavel Machek <pavel@....cz>, David Howells <dhowells@...hat.com>,
        Al Viro <viro@...iv.linux.org.uk>,
        linux-fsdevel <linux-fsdevel@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 36/38] vfs: Add a sample program for the new mount API
 [ver #10]

On Mon, Jul 30, 2018 at 11:18:53AM -0700, Linus Torvalds wrote:
> On Mon, Jul 30, 2018 at 11:08 AM Matthew Wilcox <willy@...radead.org> wrote:
> >
> > Have you looked at how gettext() works?  It uses the english text as
> > a search string and replaces it with the localised string.  This is
> > a very common design!
> 
> I absolutely refuse to have anything to do with gettext in the kernel.

I wasn't proposing putting gettext in the kernel.  I was reacting to
Pavel saying "You can't return English strings from the kernel, you have
to translate numbers into any language's strings".

If somebody wants to use gettext() in userspace to translate the string
they got back from the kernel, that's fine.  But it won't produce very
useful bug reports.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ