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] [day] [month] [year] [list]
Message-ID: <20250319184119.GE26879@redhat.com>
Date: Wed, 19 Mar 2025 19:41:20 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Mateusz Guzik <mjguzik@...il.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] exit: combine work under lock in
 synchronize_group_exit() and coredump_task_exit()

On 03/19, Mateusz Guzik wrote:
>
> This happens to test to for coredumping prior to handling kcov and
> kmsan, which afaics is harmless.
>
> I however was not comfortable lifting dumping prior to it, so it still
> happens after.

Well, I'd really prefer to move synchronize_group_exit(tsk, code) down,
after kmsan_task_exit() for the start.

Then the patch and resulting code will be simpler, coredump_task_exit()
can be even folded into synchronize_group_exit().

Oleg.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ