Subject: CVS commit: src/sys/compat
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 09/13/2006 19:55:49
Module Name: src
Committed By: manu
Date: Wed Sep 13 19:55:49 UTC 2006
Modified Files:
src/sys/compat/linux/common: linux_ipc.c linux_misc.c
src/sys/compat/linux32: files.linux32
src/sys/compat/linux32/arch/amd64: linux32_missing.h linux32_syscall.h
linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c
linux32_types.h syscalls.master
src/sys/compat/linux32/common: linux32_ioctl.c linux32_mman.c
linux32_sched.c linux32_socket.c linux32_types.h linux32_unistd.c
Added Files:
src/sys/compat/linux32/common: linux32_sysinfo.c
Log Message:
Jumbo COMPAT_LINUX/COMPAT_LINUX32 bugfix, with the help of Nicolas Joly
- Fix shmat return value on amd64: it uses no black magic with retval[0]
- Fix integer overflows in sysinfo
- Implement sysinfo, mmap2, sched_getparam, sched_getscheduler, mremap,
and madvise in COMPAT_LINUX32
- Fix improper types used in setgroups16/getgroups16
- Implement mmap2 for COMPAT_LINUX32
- Ifdef debug messages by DEBUG_LINUX
To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 src/sys/compat/linux/common/linux_ipc.c
cvs rdiff -r1.161 -r1.162 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -r1.2 -r1.3 src/sys/compat/linux32/files.linux32
cvs rdiff -r1.1 -r1.2 src/sys/compat/linux32/arch/amd64/linux32_missing.h \
src/sys/compat/linux32/arch/amd64/linux32_types.h
cvs rdiff -r1.9 -r1.10 src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
src/sys/compat/linux32/arch/amd64/linux32_sysent.c
cvs rdiff -r1.6 -r1.7 src/sys/compat/linux32/arch/amd64/syscalls.master
cvs rdiff -r1.3 -r1.4 src/sys/compat/linux32/common/linux32_ioctl.c \
src/sys/compat/linux32/common/linux32_unistd.c
cvs rdiff -r1.1 -r1.2 src/sys/compat/linux32/common/linux32_mman.c \
src/sys/compat/linux32/common/linux32_sched.c \
src/sys/compat/linux32/common/linux32_socket.c \
src/sys/compat/linux32/common/linux32_types.h
cvs rdiff -r0 -r1.1 src/sys/compat/linux32/common/linux32_sysinfo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.