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

Alexander Leidinger netchild at FreeBSD.org
Sat Sep 23 12:06:56 PDT 2006


netchild    2006-09-23 19:06:54 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_file.c linux_socket.c 
  Log:
  MFp4:
  - Linux returns ENOPROTOOPT in a case of not supported opt to setsockopt.
  - Return EISDIR in pread() when arg is a directory.
  - Return EINVAL instead of EFAULT when namelen is not correct in accept().
  - Return EINVAL instead of EACCESS if invalid access mode is entered in
    access().
  - Return EINVAL instead of EADDRNOTAVAIL in a case of bad salen param
    to bind().
  
  Submitted by:   rdivacky
  Tested with:    LTP (vfork01 fails now, but it seems to be a race and
                  not caused by those changes)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.98      +23 -1     src/sys/compat/linux/linux_file.c
  1.71      +7 -2      src/sys/compat/linux/linux_socket.c


More information about the cvs-src mailing list