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: <20250811-vielversprechend-imker-3a87ced68e95@brauner>
Date: Mon, 11 Aug 2025 15:41:48 +0200
From: Christian Brauner <brauner@...nel.org>
To: Fushuai Wang <wangfushuai@...du.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org, 
	viro@...iv.linux.org.uk, jack@...e.cz
Subject: Re: [PATCH] coredump: simplify coredump_skip()

On Mon, Aug 11, 2025 at 03:51:55PM +0800, Fushuai Wang wrote:
> Replace the multi-if conditional check with a single return statement.
> 
> Signed-off-by: Fushuai Wang <wangfushuai@...du.com>
> ---

This is a matter of taste. Thanks for the idea but the checks on
separate lines make it easier to read.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ