]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: fix for psinfo allocation during execve
authorKris Van Hees <kris.van.hees@oracle.com>
Fri, 13 Sep 2013 14:33:41 +0000 (10:33 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:19 +0000 (15:29 +0100)
commitc8ac2593681c35792d96815ba9dd667abaa80628
treefe61e573844b2730c2205f7114e6a11db06b8c67
parent992ab081be996e09804e72c8e03cd702f208d512
dtrace: fix for psinfo allocation during execve

Allocate the psinfo structure from a slab (alike other structures related to
the task_struct), and use kmalloc() for the argv and envp members (with size
limit to avoid allocation issues).

Orabug: 17407069
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
include/linux/dtrace_psinfo.h
include/linux/mutex.h
kernel/dtrace/dtrace_cpu.c
kernel/dtrace/dtrace_os.c