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:	Tue, 21 Nov 2006 00:07:43 -0800
From:	Andrew Morton <akpm@...l.org>
To:	Christoph Lameter <clameter@....com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org,
	Pekka Enberg <penberg@...helsinki.fi>,
	Manfred Spraul <manfred@...orfullife.com>
Subject: Re: [RFC 1/7] Remove declaration of sighand_cachep from slab.h

On Mon, 20 Nov 2006 08:20:13 -0800 (PST)
Christoph Lameter <clameter@....com> wrote:

> On Sat, 18 Nov 2006, Stephen Rothwell wrote:
> 
> > Is there no suitable header file to put this in?
> 
> There is only a single file that uses sighand_cachep apart from where it 
> was defined. If we would add it to signal.h then we would also have to
> add an include for slab.h just for this statement.

That's one of the reasons why typedefs are bad.

Use `struct kmem_cache' instead of `kmem_cache_t' and lo, you can
forward-declare it in the header file without having to include slab.h.

Patches which rid us of kmem_cache_t are always welcome..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ