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, 2 Apr 2007 12:18:13 +0200
From:	Johannes Weiner <hannes-kernel@...urebad.de>
To:	akpm@...ux-foundation.org
Cc:	linux-kernel@...r.kernel.org, christoph@...eter.com,
	penberg@...helsinki.fi
Subject: [PATCH] Catch kmalloc() failure in kmem_cache_init()

Hi,

This patch makes kmem_cache_init() trigger a BUG when the calls to
kmalloc() fail. Altough the kernel would not boot anyway on failure,
this adds some clarity to the code.

Signed-off-by: Johannes Weiner <hannes-kernel@...urebad.de>


View attachment "slab-cache-init-kmalloc-failure-catch.patch" of type "text/plain" (599 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ