PERFORCE change 20309 for review
Robert Watson
rwatson at freebsd.org
Mon Oct 28 21:14:52 GMT 2002
http://perforce.freebsd.org/chv.cgi?CH=20309
Change 20309 by rwatson at rwatson_tislabs on 2002/10/28 13:14:25
style(9)
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/uipc_socket.c#40 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/uipc_socket.c#40 (text+ko) ====
@@ -1265,7 +1265,7 @@
u_long val;
#ifdef MAC
struct mac extmac;
-#endif /* MAC */
+#endif
error = 0;
if (sopt->sopt_level != SOL_SOCKET) {
@@ -1400,9 +1400,9 @@
error = mac_setsockopt_label_set(
sopt->sopt_td->td_ucred, so, &extmac);
-#else /* MAC */
+#else
error = EOPNOTSUPP;
-#endif /* MAC */
+#endif
break;
default:
error = ENOPROTOOPT;
@@ -1462,7 +1462,7 @@
#endif
#ifdef MAC
struct mac extmac;
-#endif /* MAC */
+#endif
error = 0;
if (sopt->sopt_level != SOL_SOCKET) {
@@ -1551,9 +1551,9 @@
if (error)
return (error);
error = sooptcopyout(sopt, &extmac, sizeof extmac);
-#else /* MAC */
+#else
error = EOPNOTSUPP;
-#endif /* MAC */
+#endif
break;
case SO_PEERLABEL:
#ifdef MAC
@@ -1562,9 +1562,9 @@
if (error)
return (error);
error = sooptcopyout(sopt, &extmac, sizeof extmac);
-#else /* MAC */
+#else
error = EOPNOTSUPP;
-#endif /* MAC */
+#endif
break;
default:
error = ENOPROTOOPT;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list