Source-Changes archive

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

CVS commit: src/sys/arch



Module Name:    src
Committed By:   maxv
Date:           Tue Nov 27 14:09:55 UTC 2018

Modified Files:
        src/sys/arch/aarch64/aarch64: netbsd32_machdep.c
        src/sys/arch/alpha/alpha: machdep.c
        src/sys/arch/amd64/amd64: netbsd32_machdep.c
        src/sys/arch/arm/arm: sig_machdep.c
        src/sys/arch/hppa/hppa: sig_machdep.c
        src/sys/arch/i386/i386: machdep.c
        src/sys/arch/m68k/m68k: sig_machdep.c
        src/sys/arch/mips/mips: netbsd32_machdep.c sig_machdep.c
        src/sys/arch/powerpc/powerpc: sig_machdep.c
        src/sys/arch/riscv/riscv: sig_machdep.c
        src/sys/arch/sh3/sh3: sh3_machdep.c
        src/sys/arch/sparc64/sparc64: machdep.c netbsd32_machdep.c
        src/sys/arch/usermode/target/i386: cpu_i386.c
        src/sys/arch/usermode/target/x86_64: cpu_x86_64.c
        src/sys/arch/vax/vax: sig_machdep.c

Log Message:
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.2 -r1.3 src/sys/arch/aarch64/aarch64/netbsd32_machdep.c
cvs rdiff -u -r1.351 -r1.352 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -u -r1.116 -r1.117 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/arm/arm/sig_machdep.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/hppa/hppa/sig_machdep.c
cvs rdiff -u -r1.812 -r1.813 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/m68k/m68k/sig_machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/mips/netbsd32_machdep.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/mips/mips/sig_machdep.c
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/powerpc/powerpc/sig_machdep.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/riscv/sig_machdep.c
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/sh3/sh3/sh3_machdep.c
cvs rdiff -u -r1.288 -r1.289 src/sys/arch/sparc64/sparc64/machdep.c
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/target/i386/cpu_i386.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/usermode/target/x86_64/cpu_x86_64.c
cvs rdiff -u -r1.22 -r1.23 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