Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/compat



Module Name:    src
Committed By:   martin
Date:           Wed Aug  3 11:11:33 UTC 2022

Modified Files:
        src/sys/compat/common [netbsd-9]: 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 [netbsd-9]: freebsd_machdep.c freebsd_misc.c
            freebsd_sched.c
        src/sys/compat/linux/arch/alpha [netbsd-9]: linux_machdep.c
            linux_osf1.c
        src/sys/compat/linux/arch/amd64 [netbsd-9]: linux_machdep.c
        src/sys/compat/linux/arch/arm [netbsd-9]: linux_machdep.c
            linux_ptrace.c
        src/sys/compat/linux/arch/i386 [netbsd-9]: linux_machdep.c
            linux_ptrace.c
        src/sys/compat/linux/arch/m68k [netbsd-9]: linux_machdep.c
        src/sys/compat/linux/arch/mips [netbsd-9]: linux_machdep.c
        src/sys/compat/linux/arch/powerpc [netbsd-9]: linux_exec_powerpc.c
            linux_machdep.c linux_ptrace.c
        src/sys/compat/linux/common [netbsd-9]: 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 [netbsd-9]: linux32_machdep.c
        src/sys/compat/linux32/common [netbsd-9]: linux32_exec_elf32.c
            linux32_resource.c linux32_signal.c linux32_time.c
        src/sys/compat/netbsd32 [netbsd-9]: 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 [netbsd-9]: ossaudio.c
        src/sys/compat/sunos [netbsd-9]: sunos_ioctl.c sunos_misc.c
        src/sys/compat/sunos32 [netbsd-9]: sunos32_ioctl.c sunos32_misc.c
        src/sys/compat/sys [netbsd-9]: time_types.h
        src/sys/compat/ultrix [netbsd-9]: ultrix_ioctl.c ultrix_misc.c

Log Message:
Pull up following revision(s), all via patch
(requested by riastradh in ticket #1487):

        sys/compat/linux/arch/i386/linux_machdep.c: revision 1.168
        sys/compat/sunos/sunos_misc.c: revision 1.177
        sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.52
        sys/compat/common/kern_resource_43.c: revision 1.23
        sys/compat/netbsd32/netbsd32_conv.h: revision 1.46
        sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.35
        sys/compat/common/vfs_syscalls_12.c: revision 1.38
        sys/compat/ultrix/ultrix_misc.c: revision 1.126
        sys/compat/common/kern_sig_43.c: revision 1.37
        sys/compat/linux/common/linux_mtio.c: revision 1.8
        sys/compat/freebsd/freebsd_misc.c: revision 1.34
        sys/compat/freebsd/freebsd_machdep.c: revision 1.5
        sys/compat/linux/common/linux_olduname.c: revision 1.67
        sys/compat/linux/arch/mips/linux_machdep.c: revision 1.44
        sys/compat/freebsd/freebsd_sched.c: revision 1.23
        sys/compat/ossaudio/ossaudio.c: revision 1.84
        sys/compat/sys/time_types.h: revision 1.6
        sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.51
        sys/compat/common/ieee80211_20.c: revision 1.7
        sys/compat/linux/common/linux_file.c: revision 1.119
        sys/compat/linux/arch/arm/linux_machdep.c: revision 1.34
        sys/compat/netbsd32/netbsd32_wait.c: revision 1.25
        sys/compat/linux32/common/linux32_time.c: revision 1.38
        sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.33
        sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.52
        sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.46
        sys/compat/netbsd32/netbsd32_compat_12.c: revision 1.36
        sys/compat/ultrix/ultrix_ioctl.c: revision 1.39
        sys/compat/linux/common/linux_misc.c: revision 1.252
        sys/compat/linux/common/linux_hdio.c: revision 1.19
        sys/compat/sunos/sunos_ioctl.c: revision 1.71
        sys/compat/linux/common/linux_sched.c: revision 1.79
        sys/compat/common/kern_info_43.c: revision 1.40
        sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.20
        sys/compat/linux/common/linux_socket.c: revision 1.153
        sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.60
        sys/compat/common/vfs_syscalls_43.c: revision 1.68
        sys/compat/linux/arch/powerpc/linux_exec_powerpc.c: revision 1.25
        sys/compat/netbsd32/netbsd32_ptrace.c: revision 1.9
        sys/compat/common/kern_time_50.c: revision 1.37
        sys/compat/netbsd32/netbsd32_compat_20.c: revision 1.42
        sys/compat/linux/common/linux_cdrom.c: revision 1.28
        sys/compat/linux/arch/m68k/linux_machdep.c: revision 1.43
        sys/compat/common/kern_info_09.c: revision 1.22
        sys/compat/linux32/common/linux32_resource.c: revision 1.12
        sys/compat/linux/common/linux_oldolduname.c: revision 1.67
        sys/compat/common/if_media_80.c: revision 1.4
        sys/compat/linux/arch/alpha/linux_osf1.c: revision 1.5
        sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.8
        sys/compat/linux32/common/linux32_signal.c: revision 1.21
        sys/compat/common/kern_sig_13.c: revision 1.22
        sys/compat/sunos32/sunos32_ioctl.c: revision 1.36
        sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.62
        sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.23
        sys/compat/netbsd32/netbsd32_time.c: revision 1.56
        sys/compat/linux/common/linux_signal.c: revision 1.84
        sys/compat/netbsd32/netbsd32_signal.c: revision 1.52
        sys/compat/sunos32/sunos32_misc.c: revision 1.85
        sys/compat/linux/common/linux_time.c: revision 1.40
        sys/compat/linux/common/linux_fdio.c: revision 1.14
        sys/compat/common/vfs_syscalls_30.c: revision 1.43

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.5 -r1.5.6.1 src/sys/compat/common/ieee80211_20.c
cvs rdiff -u -r1.1 -r1.1.4.1 src/sys/compat/common/if_media_80.c
cvs rdiff -u -r1.21 -r1.21.4.1 src/sys/compat/common/kern_info_09.c \
    src/sys/compat/common/kern_sig_13.c
cvs rdiff -u -r1.37 -r1.37.4.1 src/sys/compat/common/kern_info_43.c \
    src/sys/compat/common/vfs_syscalls_12.c
cvs rdiff -u -r1.22 -r1.22.4.1 src/sys/compat/common/kern_resource_43.c
cvs rdiff -u -r1.35.4.1 -r1.35.4.2 src/sys/compat/common/kern_sig_43.c
cvs rdiff -u -r1.33 -r1.33.4.1 src/sys/compat/common/kern_time_50.c
cvs rdiff -u -r1.38.4.1 -r1.38.4.2 src/sys/compat/common/vfs_syscalls_30.c
cvs rdiff -u -r1.64.4.2 -r1.64.4.3 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -u -r1.4 -r1.4.10.1 src/sys/compat/freebsd/freebsd_machdep.c
cvs rdiff -u -r1.33 -r1.33.24.1 src/sys/compat/freebsd/freebsd_misc.c
cvs rdiff -u -r1.22 -r1.22.32.1 src/sys/compat/freebsd/freebsd_sched.c
cvs rdiff -u -r1.50 -r1.50.24.1 \
    src/sys/compat/linux/arch/alpha/linux_machdep.c
cvs rdiff -u -r1.3 -r1.3.6.1 src/sys/compat/linux/arch/alpha/linux_osf1.c
cvs rdiff -u -r1.58.2.1 -r1.58.2.2 \
    src/sys/compat/linux/arch/amd64/linux_machdep.c
cvs rdiff -u -r1.32 -r1.32.24.1 src/sys/compat/linux/arch/arm/linux_machdep.c
cvs rdiff -u -r1.21 -r1.21.8.1 src/sys/compat/linux/arch/arm/linux_ptrace.c
cvs rdiff -u -r1.166 -r1.166.2.1 \
    src/sys/compat/linux/arch/i386/linux_machdep.c
cvs rdiff -u -r1.33 -r1.33.4.1 src/sys/compat/linux/arch/i386/linux_ptrace.c
cvs rdiff -u -r1.42 -r1.42.64.1 \
    src/sys/compat/linux/arch/m68k/linux_machdep.c
cvs rdiff -u -r1.43 -r1.43.24.1 \
    src/sys/compat/linux/arch/mips/linux_machdep.c
cvs rdiff -u -r1.24 -r1.24.44.1 \
    src/sys/compat/linux/arch/powerpc/linux_exec_powerpc.c
cvs rdiff -u -r1.50 -r1.50.14.1 \
    src/sys/compat/linux/arch/powerpc/linux_machdep.c
cvs rdiff -u -r1.31 -r1.31.4.1 \
    src/sys/compat/linux/arch/powerpc/linux_ptrace.c
cvs rdiff -u -r1.27 -r1.27.92.1 src/sys/compat/linux/common/linux_cdrom.c
cvs rdiff -u -r1.13 -r1.13.96.1 src/sys/compat/linux/common/linux_fdio.c
cvs rdiff -u -r1.116 -r1.116.2.1 src/sys/compat/linux/common/linux_file.c
cvs rdiff -u -r1.18 -r1.18.4.1 src/sys/compat/linux/common/linux_hdio.c
cvs rdiff -u -r1.240.4.1 -r1.240.4.2 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -u -r1.7 -r1.7.96.1 src/sys/compat/linux/common/linux_mtio.c
cvs rdiff -u -r1.66 -r1.66.92.1 \
    src/sys/compat/linux/common/linux_oldolduname.c \
    src/sys/compat/linux/common/linux_olduname.c
cvs rdiff -u -r1.71 -r1.71.6.1 src/sys/compat/linux/common/linux_sched.c
cvs rdiff -u -r1.80.8.1 -r1.80.8.2 src/sys/compat/linux/common/linux_signal.c
cvs rdiff -u -r1.145.4.3 -r1.145.4.4 \
    src/sys/compat/linux/common/linux_socket.c
cvs rdiff -u -r1.39 -r1.39.8.1 src/sys/compat/linux/common/linux_time.c
cvs rdiff -u -r1.45 -r1.45.2.1 \
    src/sys/compat/linux32/arch/amd64/linux32_machdep.c
cvs rdiff -u -r1.19 -r1.19.20.1 \
    src/sys/compat/linux32/common/linux32_exec_elf32.c
cvs rdiff -u -r1.11 -r1.11.42.1 \
    src/sys/compat/linux32/common/linux32_resource.c
cvs rdiff -u -r1.19.8.1 -r1.19.8.2 \
    src/sys/compat/linux32/common/linux32_signal.c
cvs rdiff -u -r1.37 -r1.37.42.1 src/sys/compat/linux32/common/linux32_time.c
cvs rdiff -u -r1.34 -r1.34.4.1 src/sys/compat/netbsd32/netbsd32_compat_12.c
cvs rdiff -u -r1.38.4.1 -r1.38.4.2 \
    src/sys/compat/netbsd32/netbsd32_compat_20.c \
    src/sys/compat/netbsd32/netbsd32_conv.h
cvs rdiff -u -r1.57.4.3 -r1.57.4.4 \
    src/sys/compat/netbsd32/netbsd32_compat_43.c
cvs rdiff -u -r1.39.2.2 -r1.39.2.3 \
    src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.6.4.1 -r1.6.4.2 src/sys/compat/netbsd32/netbsd32_nfssvc.c
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/compat/netbsd32/netbsd32_ptrace.c
cvs rdiff -u -r1.45.8.1 -r1.45.8.2 src/sys/compat/netbsd32/netbsd32_signal.c
cvs rdiff -u -r1.51 -r1.51.4.1 src/sys/compat/netbsd32/netbsd32_time.c
cvs rdiff -u -r1.23 -r1.23.20.1 src/sys/compat/netbsd32/netbsd32_wait.c
cvs rdiff -u -r1.74.4.4 -r1.74.4.5 src/sys/compat/ossaudio/ossaudio.c
cvs rdiff -u -r1.69 -r1.69.2.1 src/sys/compat/sunos/sunos_ioctl.c
cvs rdiff -u -r1.173 -r1.173.2.1 src/sys/compat/sunos/sunos_misc.c
cvs rdiff -u -r1.35 -r1.35.2.1 src/sys/compat/sunos32/sunos32_ioctl.c
cvs rdiff -u -r1.79 -r1.79.4.1 src/sys/compat/sunos32/sunos32_misc.c
cvs rdiff -u -r1.5 -r1.5.6.1 src/sys/compat/sys/time_types.h
cvs rdiff -u -r1.38 -r1.38.2.1 src/sys/compat/ultrix/ultrix_ioctl.c
cvs rdiff -u -r1.125 -r1.125.4.1 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