Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   kamil
Date:           Wed Apr  3 08:08:00 UTC 2019

Modified Files:
        src/sys/arch/alpha/alpha: syscall.c
        src/sys/arch/arm/arm: syscall.c
        src/sys/arch/hppa/hppa: trap.c
        src/sys/arch/ia64/ia64: syscall.c
        src/sys/arch/m68k/m68k: m68k_syscall.c
        src/sys/arch/mips/mips: trap.c
        src/sys/arch/powerpc/powerpc: syscall.c
        src/sys/arch/riscv/riscv: riscv_machdep.c
        src/sys/arch/sh3/sh3: vm_machdep.c
        src/sys/arch/sparc/sparc: syscall.c
        src/sys/arch/sparc64/sparc64: syscall.c
        src/sys/arch/vax/vax: syscall.c
        src/sys/arch/x86/x86: syscall.c
        src/sys/kern: kern_fork.c

Log Message:
Rework the fork(2)/vfork(2) event signalling under ptrace(2)

Remove the constraint of SIGTRAP event being maskable by a tracee.

Now all SIGTRAP TRAP_CHLD events are delivered to debugger.

This code touches MD specific logic and the child_return routine.
It's an intermediate step with a room for refactoring in future and
right now the least invasive approach. This allows to assert expected
behavior in already existing ATF tests and make the code prettier
in future keeping the same semantics. Probably there is a need for a MI
wrapper of child_return for shared functionality between ports.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/alpha/alpha/syscall.c
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/arm/arm/syscall.c
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/hppa/hppa/trap.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/ia64/ia64/syscall.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/m68k/m68k/m68k_syscall.c
cvs rdiff -u -r1.246 -r1.247 src/sys/arch/mips/mips/trap.c
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/powerpc/powerpc/syscall.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/riscv/riscv/riscv_machdep.c
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/sh3/sh3/vm_machdep.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sparc/sparc/syscall.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/sparc64/sparc64/syscall.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/vax/vax/syscall.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x86/x86/syscall.c
cvs rdiff -u -r1.205 -r1.206 src/sys/kern/kern_fork.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index