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: Sun, 2 Jun 2024 18:28:51 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: Masahiro Yamada <masahiroy@...nel.org>, Íñigo Huguet <ihuguet@...hat.com>, 
	Vincent MAILHOL <mailhol.vincent@...adoo.fr>, Jonathan Corbet <corbet@....net>, ojeda@...nel.org, 
	danny@...ag0n.dev, jgg@...dia.com, mic@...ikod.net, 
	linux-kernel@...r.kernel.org, joe@...ches.com, linux@...musvillemoes.dk, 
	willy@...radead.org
Subject: Re: [PATCH v4] Add .editorconfig file for basic formatting

On Sun, Jun 2, 2024 at 5:31 PM Mateusz Guzik <mjguzik@...il.com> wrote:
>
> You can try yourself by editing fs/dcache.c or fs/bad_inode.c.
>
> It stems from this line:
> trim_trailing_whitespace = true
>
> The problem is dodged by setting it to false or adding this to
> ~/.config/nvim/init.lua:
> vim.g.editorconfig = false
>
> Is there a non-giant-hammer method to disable the thing? Maybe some lua
> magic to special-case that this is the kernel tree?

It may be possible to disable it for particular folder/patterns and
then try to get their maintainers to do a sweep eventually.

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ