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:   njoly
Date:           Thu Nov  8 21:07:24 UTC 2007

Modified Files:
        src/sys/compat/linux/arch/mips: linux_machdep.c
        src/sys/compat/linux/common: linux_misc.c linux_oldolduname.c
            linux_olduname.c
        src/sys/compat/linux32/common: linux32_utsname.c

Log Message:
Replace strncpy with strlcpy in compat linux and linux32 uname,
old_uname and oldold_uname syscalls to ensure that all *utsname fields
are always NUL terminated.


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/sys/compat/linux/arch/mips/linux_machdep.c
cvs rdiff -r1.185 -r1.186 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -r1.63 -r1.64 src/sys/compat/linux/common/linux_oldolduname.c \
    src/sys/compat/linux/common/linux_olduname.c
cvs rdiff -r1.3 -r1.4 src/sys/compat/linux32/common/linux32_utsname.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