cvs commit: src/sys/compat/linux linux_socket.c

Robert Watson rwatson at
Sat Apr 14 10:35:10 UTC 2007

rwatson     2007-04-14 10:35:09 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_socket.c 
  Some Linux applications (ping) pass a non-NULL msg_control argument to
  sendmsg() while using a 0-length msg_controllen.  This isn't allowed in
  the FreeBSD system call ABI, so detect this case and set msg_control to
  NULL.  This allows Linux ping to work.
  Submitted by:   rdivacky
  Revision  Changes    Path
  1.73      +10 -0     src/sys/compat/linux/linux_socket.c

More information about the cvs-src mailing list