linux-hardened/ipc
Matt Helsley 2453a3062d [PATCH] ipc: replace kmalloc and memset in get_undo_list with kzalloc
Simplify get_undo_list() by dropping the unnecessary cast, removing the
size variable, and switching to kzalloc() instead of a kmalloc() followed
by a memset().

This cleanup was split then modified from Jes Sorenson's Task Notifiers
patches.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Cc: Jes Sorensen <jes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-02 07:57:22 -07:00
..
compat.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
compat_mq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mqueue.c [PATCH] update mq_notify to use a struct pid 2006-10-02 07:57:15 -07:00
msg.c [PATCH] IPC namespace - msg 2006-10-02 07:57:22 -07:00
msgutil.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sem.c [PATCH] ipc: replace kmalloc and memset in get_undo_list with kzalloc 2006-10-02 07:57:22 -07:00
shm.c [PATCH] IPC namespace - shm 2006-10-02 07:57:22 -07:00
util.c [PATCH] IPC namespace - utils 2006-10-02 07:57:22 -07:00
util.h [PATCH] IPC namespace - utils 2006-10-02 07:57:22 -07:00