Date: Mon, 28 Oct 2002 13:14:52 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 20309 for review Message-ID: <200210282114.g9SLEqs4029712@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20309 Change 20309 by rwatson@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@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210282114.g9SLEqs4029712>