Source-Changes archive

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

CVS commit: [netbsd-7-1] src/sys/arch



Module Name:    src
Committed By:   martin
Date:           Wed Jan 30 13:29:52 UTC 2019

Modified Files:
        src/sys/arch/alpha/alpha [netbsd-7-1]: machdep.c
        src/sys/arch/amd64/amd64 [netbsd-7-1]: netbsd32_machdep.c
        src/sys/arch/arm/arm [netbsd-7-1]: sig_machdep.c
        src/sys/arch/hppa/hppa [netbsd-7-1]: sig_machdep.c
        src/sys/arch/i386/i386 [netbsd-7-1]: machdep.c
        src/sys/arch/m68k/m68k [netbsd-7-1]: sig_machdep.c
        src/sys/arch/mips/mips [netbsd-7-1]: netbsd32_machdep.c sig_machdep.c
        src/sys/arch/powerpc/powerpc [netbsd-7-1]: sig_machdep.c
        src/sys/arch/sh3/sh3 [netbsd-7-1]: sh3_machdep.c
        src/sys/arch/sparc64/sparc64 [netbsd-7-1]: machdep.c netbsd32_machdep.c
        src/sys/arch/usermode/target/i386 [netbsd-7-1]: cpu_i386.c
        src/sys/arch/usermode/target/x86_64 [netbsd-7-1]: cpu_x86_64.c
        src/sys/arch/vax/vax [netbsd-7-1]: sig_machdep.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1677):

        sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
        sys/arch/arm/arm/sig_machdep.c: revision 1.51
        sys/arch/i386/i386/machdep.c: revision 1.813
        sys/arch/alpha/alpha/machdep.c: revision 1.352
        sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
        sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
        sys/arch/sparc64/sparc64/machdep.c: revision 1.289
        sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
        sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
        sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
        sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
        sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
        sys/arch/mips/mips/sig_machdep.c: revision 1.24
        sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
        sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.


To generate a diff of this commit:
cvs rdiff -u -r1.345.2.1 -r1.345.2.1.2.1 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -u -r1.92 -r1.92.12.1 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.47 -r1.47.10.1 src/sys/arch/arm/arm/sig_machdep.c
cvs rdiff -u -r1.25 -r1.25.42.1 src/sys/arch/hppa/hppa/sig_machdep.c
cvs rdiff -u -r1.752.12.2 -r1.752.12.3 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.49 -r1.49.26.1 src/sys/arch/m68k/m68k/sig_machdep.c
cvs rdiff -u -r1.11 -r1.11.12.1 src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.23 -r1.23.40.1 src/sys/arch/mips/mips/sig_machdep.c
cvs rdiff -u -r1.43.14.1 -r1.43.14.1.6.1 \
    src/sys/arch/powerpc/powerpc/sig_machdep.c
cvs rdiff -u -r1.102.4.1 -r1.102.4.1.4.1 src/sys/arch/sh3/sh3/sh3_machdep.c
cvs rdiff -u -r1.278.2.3 -r1.278.2.3.6.1 \
    src/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -u -r1.103.4.1 -r1.103.4.1.4.1 \
    src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.4 -r1.4.28.1 src/sys/arch/usermode/target/i386/cpu_i386.c
cvs rdiff -u -r1.2 -r1.2.36.1 \
    src/sys/arch/usermode/target/x86_64/cpu_x86_64.c
cvs rdiff -u -r1.21 -r1.21.40.1 src/sys/arch/vax/vax/sig_machdep.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