Source-Changes archive

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

CVS commit: src/sys

Module Name:    src
Committed By:   dsl
Date:           Fri Jun  1 22:53:53 UTC 2007

Modified Files:
        src/sys/compat/common: uipc_syscalls_43.c
        src/sys/compat/linux/common: linux_socket.c
        src/sys/compat/netbsd32: netbsd32_socket.c
        src/sys/compat/svr4: svr4_stream.c
        src/sys/compat/svr4_32: svr4_32_stream.c
        src/sys/kern: uipc_syscalls.c
        src/sys/sys: socket.h socketvar.h

Log Message:
Split sys_bind() and sys_connect() so that compat code can use common code
  once the 'address' has been copied into an mbuf.
Add extra flags for 'struct msghdr.msg_flags' to indicate that the address
  and control are already in mbufs, and that the uio structure is in userspace
  for sending data, rename sendit() to do_sys_sendmsg() to ensure no old code
  passes in random flags.
Changes to compat code to use new functions - removing some stackgap use.
Fix a 'use after free' in compat_43_sys_recvmsg.
I ***THINK*** the code that converts 'cmsg' formatted data is borked!
svr4_stream.c ought to be generated from svr4_32_stream.c during the build.

To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/compat/common/uipc_syscalls_43.c
cvs rdiff -r1.72 -r1.73 src/sys/compat/linux/common/linux_socket.c
cvs rdiff -r1.25 -r1.26 src/sys/compat/netbsd32/netbsd32_socket.c
cvs rdiff -r1.63 -r1.64 src/sys/compat/svr4/svr4_stream.c
cvs rdiff -r1.23 -r1.24 src/sys/compat/svr4_32/svr4_32_stream.c
cvs rdiff -r1.110 -r1.111 src/sys/kern/uipc_syscalls.c
cvs rdiff -r1.85 -r1.86 src/sys/sys/socket.h
cvs rdiff -r1.94 -r1.95 src/sys/sys/socketvar.h

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