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]
Message-ID: <a1fd42b5-50b7-1360-4fd0-8f590dc08e02@gentwo.org>
Date: Tue, 9 Jul 2024 10:26:32 -0700 (PDT)
From: "Christoph Lameter (Ampere)" <cl@...two.org>
To: Kees Cook <kees@...nel.org>
cc: Vlastimil Babka <vbabka@...e.cz>, Jann Horn <jannh@...gle.com>, 
    Tony Luck <tony.luck@...el.com>, 
    Nick Desaulniers <ndesaulniers@...gle.com>, 
    Miguel Ojeda <ojeda@...nel.org>, Marco Elver <elver@...gle.com>, 
    Nathan Chancellor <nathan@...nel.org>, Hao Luo <haoluo@...gle.com>, 
    Przemek Kitszel <przemyslaw.kitszel@...el.com>, 
    Pekka Enberg <penberg@...nel.org>, David Rientjes <rientjes@...gle.com>, 
    Joonsoo Kim <iamjoonsoo.kim@....com>, 
    Andrew Morton <akpm@...ux-foundation.org>, 
    Roman Gushchin <roman.gushchin@...ux.dev>, 
    Hyeonggon Yoo <42.hyeyoo@...il.com>, 
    "Guilherme G. Piccoli" <gpiccoli@...lia.com>, 
    Mark Rutland <mark.rutland@....com>, Jakub Kicinski <kuba@...nel.org>, 
    Petr Pavlu <petr.pavlu@...e.com>, 
    Alexander Lobakin <aleksander.lobakin@...el.com>, 
    Tony Ambardar <tony.ambardar@...il.com>, linux-kernel@...r.kernel.org, 
    linux-mm@...ck.org, linux-hardening@...r.kernel.org
Subject: Re: [RFC][PATCH 0/4] slab: Allow for type introspection during
 allocation

On Mon, 8 Jul 2024, Kees Cook wrote:

>
>            obj = kmalloc(obj, gfp);

Could we avoid repeating "obj" in this pattern?

F.e.

 	KMALLOC(obj, gfp);

instead?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ