Fwd: PATCH: 2.4.28: 32 bit ltrace oops when tracing 64 bit
executable [X86_64]
Paweł Sikora
pluto w pld-linux.org
Czw, 6 Sty 2005, 00:14:32 CET
---------- Forwarded Message ----------
Subject: PATCH: 2.4.28: 32 bit ltrace oops when tracing 64 bit executable
[X86_64]
Date: Wednesday 05 of January 2005 22:41
From: Mark Bellon <mbellon w mvista.com>
To: linux-kernel w vger.kernel.org
Didn't see a fix for this so here it is. Tried using "ltrace -i" on a
64 bit executable when ltrace was a 32 bit executable. The kernel threw
an oops.
The find_target routine (arch/x86/ia32/ptrace32.c) doesn't deal with a
NULL return from find_task_by_pid properly - if NULL is returned
put_task_struct() is still called.
mark
-------------------------------------------------------
-
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
-------------- następna część ---------
Załącznik, który nie był tekstem został usunięty...
Name: ltrace-patch
Type: text/x-diff
Size: 731 bytes
Desc: nie znany
Url : /mailman/pipermail/pld-kernel/attachments/20050106/57eedd5e/ltrace-patch.bin
Więcej informacji o liście dyskusyjnej pld-kernel