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, 5 Jul 2021 20:28:54 -0400
From:   "Theodore Ts'o" <tytso@....edu>
To:     Michael Forney <mforney@...rney.org>
Cc:     linux-ext4@...r.kernel.org
Subject: Re: [PATCH 1/2] libext2fs: use statement-expression for container_of
 only on GNU-compatible compilers

On Wed, Apr 14, 2021 at 12:41:27AM -0700, Michael Forney wrote:
> Functionally, the statement-expression is not necessary here; it
> just gives a bit of type-safety to make sure the pointer really
> does have a compatible type with the specified member of the struct.
> 
> When statement expressions are not available, we can just use a
> portable fallback macro that skips this member type check.
> 
> Signed-off-by: Michael Forney <mforney@...rney.org>

Applied, thanks.

						- Ted

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ