linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.20 ptrace patch
@ 2003-03-17 18:46 James Bourne
  2003-03-19  1:44 ` alpha fails " Tom Vier
  0 siblings, 1 reply; 3+ messages in thread
From: James Bourne @ 2003-03-17 18:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: alan

Hi,
As per a previously stated email the patch for ptrace to 2.4.20 can
be found at http://www.hardrock.org/kernel/2.4.20/linux-2.4.20-ptrace.patch

This really only fixes the failure for the sched.h patch
to apply and removes the um tree from arch.

There of course are other minor changes (offsets etc).

It does compile on i386 and does boot.  YMMV...

Regards
James Bourne
-- 
James Bourne, Supervisor Data Centre Operations
Mount Royal College, Calgary, AB, CA
www.mtroyal.ab.ca

******************************************************************************
This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal, and or privileged
information. Please contact the sender immediately if you are not the
intended recipient of this communication, and do not copy, distribute, or
take action relying on it. Any communication received in error, or
subsequent reply, should be deleted or destroyed.
******************************************************************************


"There are only 10 types of people in this world: those who
understand binary and those who don't."


^ permalink raw reply	[flat|nested] 3+ messages in thread

* alpha fails Re: 2.4.20 ptrace patch
  2003-03-17 18:46 2.4.20 ptrace patch James Bourne
@ 2003-03-19  1:44 ` Tom Vier
  2003-03-19  2:21   ` Chris Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Vier @ 2003-03-19  1:44 UTC (permalink / raw)
  To: linux-kernel

anyone have a quick fix?

kernel/kernel.o(.text+0x3488): In function `kernel_thread':
: undefined reference to `arch_kernel_thread'
kernel/kernel.o(.text+0x3490): In function `kernel_thread':
: undefined reference to `arch_kernel_thread'
make: *** [vmlinux] Error 1

-- 
Tom Vier <tmv@comcast.net>
DSA Key ID 0xE6CB97DA

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: alpha fails Re: 2.4.20 ptrace patch
  2003-03-19  1:44 ` alpha fails " Tom Vier
@ 2003-03-19  2:21   ` Chris Wright
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Wright @ 2003-03-19  2:21 UTC (permalink / raw)
  To: Tom Vier; +Cc: linux-kernel

* Tom Vier (tmv@comcast.net) wrote:
> anyone have a quick fix?
> 
> kernel/kernel.o(.text+0x3488): In function `kernel_thread':
> : undefined reference to `arch_kernel_thread'
> kernel/kernel.o(.text+0x3490): In function `kernel_thread':
> : undefined reference to `arch_kernel_thread'
> make: *** [vmlinux] Error 1

Does this work (untested):

--- arch/alpha/kernel/entry.S.kmod	Tue Mar 18 18:17:46 2003
+++ arch/alpha/kernel/entry.S	Tue Mar 18 18:18:50 2003
@@ -234,8 +234,8 @@
  * arch_kernel_thread(fn, arg, clone_flags)
  */
 .align 3
-.globl	kernel_thread
-.ent	kernel_thread
+.globl	arch_kernel_thread
+.ent	arch_kernel_thread
 arch_kernel_thread:
 	ldgp	$29,0($27)	/* we can be called from a module */
 	.frame $30, 4*8, $26
@@ -265,7 +265,7 @@
 	mov	$0,$16
 	mov	$31,$26
 	jsr	$31,sys_exit
-.end	kernel_thread
+.end	arch_kernel_thread
 
 /*
  * __kernel_execve(path, argv, envp, regs)

-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-19  2:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-17 18:46 2.4.20 ptrace patch James Bourne
2003-03-19  1:44 ` alpha fails " Tom Vier
2003-03-19  2:21   ` Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).