patch: POSIX.1b signals for ppc
Hello Cort,
I prepared a new patch against the latest official kernel, as you asked me. I tested it and worked fine.
Quoted 3 lines · Cort Dougan
If you could send me the a patch against a more recent kernel in a few days I can merge it in. I'll be gone until the 22nd, though.
arch/ppc/kernel/entry.S Thu May 18 10:12:30 2000 renamed from arch/ppc/kernel/entry.S Wed Feb 23 07:27:42 2000 +12 -0
@@ -20,6 +20,10 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. + * + * 2000-04-10. + * Add sys_rt_sigreturn in DoSyscall Handler. + * Giovanna Ambrosini ([email protected]). * */
@@ -83,6 +87,8 @@ #endif /* SHOW_SYSCALLS */ cmpi 0,r0,0x7777 /* Special case for 'sys_sigreturn' */ beq- 10f + cmpi 0,r0,0x6666 /* Special case for 'sys_rt_sigreturn' */ + beq- 16f lwz r10,TASK_FLAGS(r2) andi. r10,r10,PF_TRACESYS bne- 50f
@@ -129,6 +135,12 @@ /* sys_sigreturn */ 10: addi r3,r1,STACK_FRAME_OVERHEAD bl sys_sigreturn + cmpi 0,r3,0 /* Check for restarted system call */ + bge ret_from_except + b 20b +/* sys_rt_sigreturn */ +16: addi r3,r1,STACK_FRAME_OVERHEAD + bl sys_rt_sigreturn cmpi 0,r3,0 /* Check for restarted system call */ bge ret_from_except b 20b
arch/ppc/kernel/signal.c Thu May 18 10:12:30 2000 renamed from arch/ppc/kernel/signal.c Fri Nov 19 04:37:03 1999 +199 -22
282 lines not on this page · raw message
include/asm-ppc/ucontext.h Thu May 18 10:12:30 2000 renamed from include/asm-ppc/ucontext.h Sun Nov 28 00:42:33 1999 +1 -0
@@ -7,6 +7,7 @@ unsigned long uc_flags; struct ucontext *uc_link; stack_t uc_stack; + struct sigcontext_struct uc_mcontext; sigset_t uc_sigmask; /* mask last for extensibility */ };
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/