PERFORCE change 106453 for review

Roman Divacky rdivacky at FreeBSD.org
Thu Sep 21 05:53:48 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=106453

Change 106453 by rdivacky at 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);


More information about the p4-projects mailing list