]> 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)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 17 Sep 2013 11:26:22 +0000 (07:26 -0400)
commitd8a2826898f6b941ed9f86a6eaa9ecc224153476
treeaab9e7abb0edb5d914237314884e5c4360ae3629
parent429ff077e50d8f514b40b0bba2bc71887553fa6c
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>
dtrace/dtrace_dev.c
dtrace/dtrace_hash.c
dtrace/dtrace_ptofapi.c
dtrace/dtrace_state.c
dtrace/fasttrap_dev.c
dtrace/include/dtrace/dtrace_impl.h
dtrace/profile_dev.c