OpenCloudOS-Kernel/arch/um/os-Linux
Paolo 'Blaisorblade' Giarrusso d9d645f06a [PATCH] uml: cleanup run_helper() API to fix a leak
Freeing the stack is left uselessly to the caller of run_helper in some cases
- this is taken from run_helper_thread, but here it is useless, so no caller
needs it and the only place where this happens has a potential leak - in case
of error neither run_helper() nor xterm_open() call free_stack().  At this
point passing a pointer is not needed - the stack pointer should be passed
directly, but this change is not done here.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-20 10:26:36 -07:00
..
drivers [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
include Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skas [PATCH] uml: thread creation tidying 2006-09-27 08:26:16 -07:00
sys-i386 [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
sys-x86_64 [PATCH] uml: stack usage reduction 2006-09-26 08:49:09 -07:00
Makefile [PATCH] uml: mark some tt-mode code 2006-09-27 08:26:16 -07:00
aio.c [PATCH] uml: Formatting changes 2006-01-06 08:33:45 -08:00
elf_aux.c [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
file.c [PATCH] uml: add some EINTR protection 2006-07-10 13:24:24 -07:00
helper.c [PATCH] uml: cleanup run_helper() API to fix a leak 2006-10-20 10:26:36 -07:00
irq.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
main.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
mem.c [PATCH] uml: close file descriptor leaks 2006-09-29 09:18:04 -07:00
process.c [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
sigio.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
signal.c [PATCH] uml: Remove unused variable 2006-09-26 08:49:08 -07:00
start_up.c [PATCH] uml: stack usage reduction 2006-09-26 08:49:09 -07:00
time.c [PATCH] uml: reenable compilation of enable_timer, disabled by mistake 2006-10-20 10:26:36 -07:00
tls.c [PATCH] Remove the use of _syscallX macros in UML 2006-10-02 07:57:23 -07:00
trap.c [PATCH] uml: Use klibc setjmp/longjmp 2006-09-26 08:49:05 -07:00
tt.c [PATCH] uml: make TT mode compile after setjmp-related changes 2006-10-11 11:14:20 -07:00
tty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tty_log.c [PATCH] uml: move tty logging to os-Linux 2006-03-27 08:44:38 -08:00
uaccess.c [PATCH] uml: Use klibc setjmp/longjmp 2006-09-26 08:49:05 -07:00
umid.c [PATCH] uml: rename and improve actually_do_remove() 2006-07-01 09:56:03 -07:00
user_syms.c [PATCH] uml: export symbols added by GCC hardened 2006-05-01 18:17:45 -07:00
util.c [PATCH] uml: fix uname under setarch i386 2006-10-11 11:14:20 -07:00