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

Aggelos Economopoulos aggelos at
Mon Jul 7 07:35:45 PDT 2008

aggelos     2008/07/07 07:35:12 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_msg.c uipc_socket.c uipc_syscalls.c 
  Do copy{in,out} early in the {g,s}etsockopt system call paths
  so the rest of the kernel can assume it's dealing with a
  kernel address in ->sopt_val. This means that soopt{,_m}copy{in,out}
  are now seriously misnamed and should be replaced by soopt_{from,to}_*
  Suggested-by: dillon@
  Revision  Changes    Path
  1.22      +2 -28     src/sys/kern/uipc_msg.c
  1.51      +37 -95    src/sys/kern/uipc_socket.c
  1.87      +22 -6     src/sys/kern/uipc_syscalls.c

More information about the Commits mailing list