Source-Changes archive

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

CVS commit: [wrstuden-revivesa] src/sys



Module Name:    src
Committed By:   wrstuden
Date:           Wed May 14 19:54:13 UTC 2008

Modified Files:
        src/sys/arch/alpha/alpha [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c machdep.c
        src/sys/arch/amd64/amd64 [wrstuden-revivesa]: machdep.c
            netbsd32_machdep.c
        src/sys/arch/amiga/amiga [wrstuden-revivesa]: trap.c
        src/sys/arch/arm/arm [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c sig_machdep.c
        src/sys/arch/atari/atari [wrstuden-revivesa]: trap.c
        src/sys/arch/cesfic/cesfic [wrstuden-revivesa]: trap.c
        src/sys/arch/hp300/hp300 [wrstuden-revivesa]: trap.c
        src/sys/arch/hppa/hppa [wrstuden-revivesa]: hppa_machdep.c
            sig_machdep.c
        src/sys/arch/i386/i386 [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c freebsd_machdep.c ibcs2_machdep.c machdep.c
            svr4_machdep.c vm86.c
        src/sys/arch/luna68k/luna68k [wrstuden-revivesa]: trap.c
        src/sys/arch/m68k/m68k [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c sig_machdep.c sunos_machdep.c svr4_machdep.c
        src/sys/arch/mac68k/mac68k [wrstuden-revivesa]: trap.c
        src/sys/arch/mips/mips [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c mips_machdep.c sig_machdep.c
        src/sys/arch/mvme68k/mvme68k [wrstuden-revivesa]: trap.c
        src/sys/arch/news68k/news68k [wrstuden-revivesa]: trap.c
        src/sys/arch/next68k/next68k [wrstuden-revivesa]: trap.c
        src/sys/arch/powerpc/powerpc [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c darwin_machdep.c
        src/sys/arch/sh3/sh3 [wrstuden-revivesa]: sh3_machdep.c
        src/sys/arch/sparc/sparc [wrstuden-revivesa]: compat_13_machdep.c
            machdep.c sunos_machdep.c svr4_machdep.c
        src/sys/arch/sparc64/sparc64 [wrstuden-revivesa]: compat_13_machdep.c
            compat_16_machdep.c machdep.c netbsd32_machdep.c sunos32_machdep.c
            sunos_machdep.c svr4_32_machdep.c svr4_machdep.c trap.c
        src/sys/arch/sun2/sun2 [wrstuden-revivesa]: trap.c
        src/sys/arch/sun3/sun3 [wrstuden-revivesa]: trap.c
        src/sys/arch/vax/vax [wrstuden-revivesa]: sig_machdep.c
        src/sys/arch/x68k/x68k [wrstuden-revivesa]: trap.c
        src/sys/coda [wrstuden-revivesa]: coda_psdev.c
        src/sys/compat/darwin [wrstuden-revivesa]: darwin_sysctl.c
        src/sys/compat/ibcs2 [wrstuden-revivesa]: ibcs2_signal.c
        src/sys/compat/irix [wrstuden-revivesa]: irix_signal.c
        src/sys/compat/linux/arch/alpha [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/arch/amd64 [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/arch/arm [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/arch/i386 [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/arch/m68k [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/arch/mips [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/arch/powerpc [wrstuden-revivesa]: linux_machdep.c
        src/sys/compat/linux/common [wrstuden-revivesa]: linux_signal.c
        src/sys/compat/netbsd32 [wrstuden-revivesa]: netbsd32_signal.c
        src/sys/compat/svr4 [wrstuden-revivesa]: svr4_signal.c
        src/sys/compat/svr4_32 [wrstuden-revivesa]: svr4_32_signal.c
        src/sys/kern [wrstuden-revivesa]: core_elf32.c init_sysctl.c kern_lwp.c
            kern_sig.c sys_select.c sys_sig.c
        src/sys/sys [wrstuden-revivesa]: lwp.h

Log Message:
Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.


To generate a diff of this commit:
cvs rdiff -r1.17.4.2 -r1.17.4.3 src/sys/arch/alpha/alpha/compat_13_machdep.c
cvs rdiff -r1.14.2.2 -r1.14.2.3 src/sys/arch/alpha/alpha/compat_16_machdep.c
cvs rdiff -r1.305.2.2 -r1.305.2.3 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -r1.92.2.1 -r1.92.2.2 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -r1.50.4.1 -r1.50.4.2 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -r1.119.4.1 -r1.119.4.2 src/sys/arch/amiga/amiga/trap.c
cvs rdiff -r1.15.4.2 -r1.15.4.3 src/sys/arch/arm/arm/compat_13_machdep.c
cvs rdiff -r1.10.4.1 -r1.10.4.2 src/sys/arch/arm/arm/compat_16_machdep.c
cvs rdiff -r1.35.4.1 -r1.35.4.2 src/sys/arch/arm/arm/sig_machdep.c
cvs rdiff -r1.97.2.1 -r1.97.2.2 src/sys/arch/atari/atari/trap.c
cvs rdiff -r1.41.4.1 -r1.41.4.2 src/sys/arch/cesfic/cesfic/trap.c
cvs rdiff -r1.138.4.1 -r1.138.4.2 src/sys/arch/hp300/hp300/trap.c
cvs rdiff -r1.13.2.1 -r1.13.2.2 src/sys/arch/hppa/hppa/hppa_machdep.c
cvs rdiff -r1.21.2.2 -r1.21.2.3 src/sys/arch/hppa/hppa/sig_machdep.c
cvs rdiff -r1.22.2.2 -r1.22.2.3 src/sys/arch/i386/i386/compat_13_machdep.c
cvs rdiff -r1.16.2.2 -r1.16.2.3 src/sys/arch/i386/i386/compat_16_machdep.c
cvs rdiff -r1.51.2.1 -r1.51.2.2 src/sys/arch/i386/i386/freebsd_machdep.c
cvs rdiff -r1.36.2.1 -r1.36.2.2 src/sys/arch/i386/i386/ibcs2_machdep.c
cvs rdiff -r1.634.2.1 -r1.634.2.2 src/sys/arch/i386/i386/machdep.c
cvs rdiff -r1.91.2.2 -r1.91.2.3 src/sys/arch/i386/i386/svr4_machdep.c
cvs rdiff -r1.48.2.2 -r1.48.2.3 src/sys/arch/i386/i386/vm86.c
cvs rdiff -r1.52.4.1 -r1.52.4.2 src/sys/arch/luna68k/luna68k/trap.c
cvs rdiff -r1.13.4.1 -r1.13.4.2 src/sys/arch/m68k/m68k/compat_13_machdep.c
cvs rdiff -r1.12.4.2 -r1.12.4.3 src/sys/arch/m68k/m68k/compat_16_machdep.c
cvs rdiff -r1.37.4.1 -r1.37.4.2 src/sys/arch/m68k/m68k/sig_machdep.c
cvs rdiff -r1.36.4.2 -r1.36.4.3 src/sys/arch/m68k/m68k/sunos_machdep.c
cvs rdiff -r1.29.2.2 -r1.29.2.3 src/sys/arch/m68k/m68k/svr4_machdep.c
cvs rdiff -r1.133.4.1 -r1.133.4.2 src/sys/arch/mac68k/mac68k/trap.c
cvs rdiff -r1.16.4.2 -r1.16.4.3 src/sys/arch/mips/mips/compat_13_machdep.c
cvs rdiff -r1.12.2.2 -r1.12.2.3 src/sys/arch/mips/mips/compat_16_machdep.c
cvs rdiff -r1.201.2.1 -r1.201.2.2 src/sys/arch/mips/mips/mips_machdep.c
cvs rdiff -r1.16.2.2 -r1.16.2.3 src/sys/arch/mips/mips/sig_machdep.c
cvs rdiff -r1.96.4.1 -r1.96.4.2 src/sys/arch/mvme68k/mvme68k/trap.c
cvs rdiff -r1.58.4.1 -r1.58.4.2 src/sys/arch/news68k/news68k/trap.c
cvs rdiff -r1.73.4.1 -r1.73.4.2 src/sys/arch/next68k/next68k/trap.c
cvs rdiff -r1.14.4.2 -r1.14.4.3 \
    src/sys/arch/powerpc/powerpc/compat_13_machdep.c
cvs rdiff -r1.11.4.2 -r1.11.4.3 \
    src/sys/arch/powerpc/powerpc/compat_16_machdep.c
cvs rdiff -r1.25.2.1 -r1.25.2.2 src/sys/arch/powerpc/powerpc/darwin_machdep.c
cvs rdiff -r1.72.2.1 -r1.72.2.2 src/sys/arch/sh3/sh3/sh3_machdep.c
cvs rdiff -r1.10.2.2 -r1.10.2.3 src/sys/arch/sparc/sparc/compat_13_machdep.c
cvs rdiff -r1.278.2.2 -r1.278.2.3 src/sys/arch/sparc/sparc/machdep.c
cvs rdiff -r1.21.4.2 -r1.21.4.3 src/sys/arch/sparc/sparc/sunos_machdep.c
cvs rdiff -r1.66.2.2 -r1.66.2.3 src/sys/arch/sparc/sparc/svr4_machdep.c
cvs rdiff -r1.21.2.2 -r1.21.2.3 \
    src/sys/arch/sparc64/sparc64/compat_13_machdep.c
cvs rdiff -r1.13.2.2 -r1.13.2.3 \
    src/sys/arch/sparc64/sparc64/compat_16_machdep.c
cvs rdiff -r1.221.2.1 -r1.221.2.2 src/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -r1.79.4.1 -r1.79.4.2 \
    src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -r1.26.4.2 -r1.26.4.3 \
    src/sys/arch/sparc64/sparc64/sunos32_machdep.c
cvs rdiff -r1.29.4.2 -r1.29.4.3 src/sys/arch/sparc64/sparc64/sunos_machdep.c
cvs rdiff -r1.34.2.2 -r1.34.2.3 \
    src/sys/arch/sparc64/sparc64/svr4_32_machdep.c
cvs rdiff -r1.50.2.2 -r1.50.2.3 src/sys/arch/sparc64/sparc64/svr4_machdep.c
cvs rdiff -r1.147.6.1 -r1.147.6.2 src/sys/arch/sparc64/sparc64/trap.c
cvs rdiff -r1.35.4.1 -r1.35.4.2 src/sys/arch/sun2/sun2/trap.c
cvs rdiff -r1.134.4.1 -r1.134.4.2 src/sys/arch/sun3/sun3/trap.c
cvs rdiff -r1.15.4.2 -r1.15.4.3 src/sys/arch/vax/vax/sig_machdep.c
cvs rdiff -r1.95.4.1 -r1.95.4.2 src/sys/arch/x68k/x68k/trap.c
cvs rdiff -r1.45.2.1 -r1.45.2.2 src/sys/coda/coda_psdev.c
cvs rdiff -r1.59.2.2 -r1.59.2.3 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.29.12.2 -r1.29.12.3 src/sys/compat/ibcs2/ibcs2_signal.c
cvs rdiff -r1.48.2.1 -r1.48.2.2 src/sys/compat/irix/irix_signal.c
cvs rdiff -r1.43.2.2 -r1.43.2.3 \
    src/sys/compat/linux/arch/alpha/linux_machdep.c
cvs rdiff -r1.29.4.1 -r1.29.4.2 \
    src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -r1.27.2.2 -r1.27.2.3 src/sys/compat/linux/arch/arm/linux_machdep.c
cvs rdiff -r1.136.2.2 -r1.136.2.3 \
    src/sys/compat/linux/arch/i386/linux_machdep.c
cvs rdiff -r1.38.2.2 -r1.38.2.3 \
    src/sys/compat/linux/arch/m68k/linux_machdep.c
cvs rdiff -r1.38.2.2 -r1.38.2.3 \
    src/sys/compat/linux/arch/mips/linux_machdep.c
cvs rdiff -r1.39.2.2 -r1.39.2.3 \
    src/sys/compat/linux/arch/powerpc/linux_machdep.c
cvs rdiff -r1.62.2.2 -r1.62.2.3 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -r1.29.4.1 -r1.29.4.2 src/sys/compat/netbsd32/netbsd32_signal.c
cvs rdiff -r1.64.2.2 -r1.64.2.3 src/sys/compat/svr4/svr4_signal.c
cvs rdiff -r1.26.2.2 -r1.26.2.3 src/sys/compat/svr4_32/svr4_32_signal.c
cvs rdiff -r1.32.4.1 -r1.32.4.2 src/sys/kern/core_elf32.c
cvs rdiff -r1.137.2.1 -r1.137.2.2 src/sys/kern/init_sysctl.c
cvs rdiff -r1.110.2.1 -r1.110.2.2 src/sys/kern/kern_lwp.c
cvs rdiff -r1.283.2.1 -r1.283.2.2 src/sys/kern/kern_sig.c
cvs rdiff -r1.7.2.1 -r1.7.2.2 src/sys/kern/sys_select.c
cvs rdiff -r1.15.2.1 -r1.15.2.2 src/sys/kern/sys_sig.c
cvs rdiff -r1.94.2.1 -r1.94.2.2 src/sys/sys/lwp.h

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