linux/ipc
Kees Cook f8dbe8d290 ipc: drop non-RCU allocation
The only users of ipc_alloc() were ipc_rcu_alloc() and the on-heap
sem_io fall-back memory.  Better to just open-code these to make things
easier to read.

[manfred@colorfullife.com: Rediff due to inclusion of memset() into ipc_rcu_alloc()]
Link: http://lkml.kernel.org/r/20170525185107.12869-5-manfred@colorfullife.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-12 16:26:01 -07:00
..
compat.c
ipc_sysctl.c
Makefile mqueue: move compat syscalls to native ones 2017-07-04 13:13:49 -04:00
mq_sysctl.c
mqueue.c mqueue: fix a use-after-free in sys_mq_notify() 2017-07-09 14:37:19 -07:00
msg.c ipc: merge ipc_rcu and kern_ipc_perm 2017-07-12 16:26:01 -07:00
msgutil.c
namespace.c
sem.c ipc: drop non-RCU allocation 2017-07-12 16:26:01 -07:00
shm.c ipc: merge ipc_rcu and kern_ipc_perm 2017-07-12 16:26:01 -07:00
syscall.c
util.c ipc: drop non-RCU allocation 2017-07-12 16:26:01 -07:00
util.h ipc: drop non-RCU allocation 2017-07-12 16:26:01 -07:00