Source-Changes archive

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

CVS commit: src/sys/compat



Module Name:    src
Committed By:   riastradh
Date:           Tue Sep  7 11:43:05 UTC 2021

Modified Files:
        src/sys/compat/common: ieee80211_20.c if_media_80.c kern_info_09.c
            kern_info_43.c kern_resource_43.c kern_sig_13.c kern_sig_43.c
            kern_time_50.c vfs_syscalls_12.c vfs_syscalls_30.c
            vfs_syscalls_43.c
        src/sys/compat/freebsd: freebsd_machdep.c freebsd_misc.c
            freebsd_sched.c
        src/sys/compat/linux/arch/alpha: linux_machdep.c linux_osf1.c
        src/sys/compat/linux/arch/amd64: linux_machdep.c
        src/sys/compat/linux/arch/arm: linux_machdep.c linux_ptrace.c
        src/sys/compat/linux/arch/i386: linux_machdep.c linux_ptrace.c
        src/sys/compat/linux/arch/m68k: linux_machdep.c
        src/sys/compat/linux/arch/mips: linux_machdep.c
        src/sys/compat/linux/arch/powerpc: linux_exec_powerpc.c linux_machdep.c
            linux_ptrace.c
        src/sys/compat/linux/common: linux_cdrom.c linux_fdio.c linux_file.c
            linux_hdio.c linux_misc.c linux_mtio.c linux_oldolduname.c
            linux_olduname.c linux_sched.c linux_signal.c linux_socket.c
            linux_time.c
        src/sys/compat/linux32/arch/amd64: linux32_machdep.c
        src/sys/compat/linux32/common: linux32_exec_elf32.c linux32_resource.c
            linux32_signal.c linux32_time.c
        src/sys/compat/netbsd32: netbsd32_compat_12.c netbsd32_compat_20.c
            netbsd32_compat_43.c netbsd32_compat_50.c netbsd32_conv.h
            netbsd32_nfssvc.c netbsd32_ptrace.c netbsd32_signal.c
            netbsd32_time.c netbsd32_wait.c
        src/sys/compat/ossaudio: ossaudio.c
        src/sys/compat/sunos: sunos_ioctl.c sunos_misc.c
        src/sys/compat/sunos32: sunos32_ioctl.c sunos32_misc.c
        src/sys/compat/sys: statvfs.h time_types.h
        src/sys/compat/ultrix: ultrix_ioctl.c ultrix_misc.c

Log Message:
sys/compat: Memset zero before copyout.

Just in case of uninitialized padding which would lead to kernel
stack disclosure.  If the compiler can prove the memset redundant
then it can optimize it away; otherwise better safe than sorry.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/compat/common/ieee80211_20.c
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/common/if_media_80.c
cvs rdiff -u -r1.21 -r1.22 src/sys/compat/common/kern_info_09.c \
    src/sys/compat/common/kern_sig_13.c
cvs rdiff -u -r1.39 -r1.40 src/sys/compat/common/kern_info_43.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/common/kern_resource_43.c
cvs rdiff -u -r1.36 -r1.37 src/sys/compat/common/kern_sig_43.c \
    src/sys/compat/common/kern_time_50.c
cvs rdiff -u -r1.37 -r1.38 src/sys/compat/common/vfs_syscalls_12.c
cvs rdiff -u -r1.42 -r1.43 src/sys/compat/common/vfs_syscalls_30.c
cvs rdiff -u -r1.67 -r1.68 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/freebsd/freebsd_machdep.c
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/freebsd/freebsd_misc.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/freebsd/freebsd_sched.c
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/linux/arch/alpha/linux_machdep.c
cvs rdiff -u -r1.4 -r1.5 src/sys/compat/linux/arch/alpha/linux_osf1.c
cvs rdiff -u -r1.59 -r1.60 src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -u -r1.33 -r1.34 src/sys/compat/linux/arch/arm/linux_machdep.c
cvs rdiff -u -r1.22 -r1.23 src/sys/compat/linux/arch/arm/linux_ptrace.c
cvs rdiff -u -r1.167 -r1.168 src/sys/compat/linux/arch/i386/linux_machdep.c
cvs rdiff -u -r1.34 -r1.35 src/sys/compat/linux/arch/i386/linux_ptrace.c
cvs rdiff -u -r1.42 -r1.43 src/sys/compat/linux/arch/m68k/linux_machdep.c
cvs rdiff -u -r1.43 -r1.44 src/sys/compat/linux/arch/mips/linux_machdep.c
cvs rdiff -u -r1.24 -r1.25 \
    src/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/linux/arch/powerpc/linux_machdep.c
cvs rdiff -u -r1.32 -r1.33 src/sys/compat/linux/arch/powerpc/linux_ptrace.c
cvs rdiff -u -r1.27 -r1.28 src/sys/compat/linux/common/linux_cdrom.c
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/common/linux_fdio.c
cvs rdiff -u -r1.118 -r1.119 src/sys/compat/linux/common/linux_file.c
cvs rdiff -u -r1.18 -r1.19 src/sys/compat/linux/common/linux_hdio.c
cvs rdiff -u -r1.251 -r1.252 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/linux/common/linux_mtio.c
cvs rdiff -u -r1.66 -r1.67 src/sys/compat/linux/common/linux_oldolduname.c \
    src/sys/compat/linux/common/linux_olduname.c
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -u -r1.152 -r1.153 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.39 -r1.40 src/sys/compat/linux/common/linux_time.c
cvs rdiff -u -r1.45 -r1.46 \
    src/sys/compat/linux32/arch/amd64/linux32_machdep.c
cvs rdiff -u -r1.19 -r1.20 src/sys/compat/linux32/common/linux32_exec_elf32.c
cvs rdiff -u -r1.11 -r1.12 src/sys/compat/linux32/common/linux32_resource.c
cvs rdiff -u -r1.20 -r1.21 src/sys/compat/linux32/common/linux32_signal.c
cvs rdiff -u -r1.37 -r1.38 src/sys/compat/linux32/common/linux32_time.c
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.41 -r1.42 src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/netbsd32/netbsd32_compat_43.c
cvs rdiff -u -r1.51 -r1.52 src/sys/compat/netbsd32/netbsd32_compat_50.c \
    src/sys/compat/netbsd32/netbsd32_signal.c
cvs rdiff -u -r1.45 -r1.46 src/sys/compat/netbsd32/netbsd32_conv.h
cvs rdiff -u -r1.7 -r1.8 src/sys/compat/netbsd32/netbsd32_nfssvc.c
cvs rdiff -u -r1.8 -r1.9 src/sys/compat/netbsd32/netbsd32_ptrace.c
cvs rdiff -u -r1.55 -r1.56 src/sys/compat/netbsd32/netbsd32_time.c
cvs rdiff -u -r1.24 -r1.25 src/sys/compat/netbsd32/netbsd32_wait.c
cvs rdiff -u -r1.83 -r1.84 src/sys/compat/ossaudio/ossaudio.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/sunos/sunos_ioctl.c
cvs rdiff -u -r1.176 -r1.177 src/sys/compat/sunos/sunos_misc.c
cvs rdiff -u -r1.35 -r1.36 src/sys/compat/sunos32/sunos32_ioctl.c
cvs rdiff -u -r1.84 -r1.85 src/sys/compat/sunos32/sunos32_misc.c
cvs rdiff -u -r1.3 -r1.4 src/sys/compat/sys/statvfs.h
cvs rdiff -u -r1.5 -r1.6 src/sys/compat/sys/time_types.h
cvs rdiff -u -r1.38 -r1.39 src/sys/compat/ultrix/ultrix_ioctl.c
cvs rdiff -u -r1.125 -r1.126 src/sys/compat/ultrix/ultrix_misc.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