cvs commit: src/sys/emulation/linux linux_socket.c src/sys/kern uipc_msg.c uipc_socket.c uipc_syscalls.c

Aggelos Economopoulos aggelos at crater.dragonflybsd.org
Wed Jul 9 17:20:03 PDT 2008


aggelos     2008/07/09 17:19:27 PDT

DragonFly src repository

  Modified files:
    sys/emulation/linux  linux_socket.c 
    sys/kern             uipc_msg.c uipc_socket.c uipc_syscalls.c 
  Log:
  Fix sockopt syscalls for the Nth time.
  
  - update linux sys_{g,s}etsockopt to do copy{in,out}
  - make sure we don't try to kmalloc(0) (use NULL)
  - only test non-NULL addresses with kva_p()
  
  Revision  Changes    Path
  1.28      +35 -6     src/sys/emulation/linux/linux_socket.c
  1.23      +1 -1      src/sys/kern/uipc_msg.c
  1.52      +5 -6      src/sys/kern/uipc_socket.c
  1.88      +24 -12    src/sys/kern/uipc_syscalls.c


http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_socket.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_msg.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.51&r2=1.52&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.87&r2=1.88&f=u





More information about the Commits mailing list