Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2006 12:53:47 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 106453 for review
Message-ID:  <200609211253.k8LCrlTo001830@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106453

Change 106453 by rdivacky@rdivacky_witten on 2006/09/21 12:53:10

	Linux returns ENOPROTOOPT in a case of not supported opt to setsockopt.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_socket.c#5 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_socket.c#5 (text+ko) ====

@@ -1139,7 +1139,7 @@
 		break;
 	}
 	if (name == -1)
-		return (EINVAL);
+		return (ENOPROTOOPT);
 
 	bsd_args.name = name;
 	bsd_args.val = PTRIN(linux_args.optval);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609211253.k8LCrlTo001830>