Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2007 14:12:25 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 120711 for review
Message-ID:  <200706011412.l51ECPH5000252@repoman.freebsd.org>

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

Change 120711 by rwatson@rwatson_zoo on 2007/06/01 14:12:22

	One more instance of SUSER_ALLOWJAIL.

Affected files ...

.. //depot/projects/trustedbsd/priv/sys/netinet/sctp_pcb.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/priv/sys/netinet/sctp_pcb.c#10 (text+ko) ====

@@ -2203,10 +2203,7 @@
 			last = ipport_hilastauto;
 		} else if (ip_inp->inp_flags & INP_LOWPORT) {
 			if (p && (error =
-			    priv_check_cred(p->td_ucred,
-			    PRIV_NETINET_RESERVEDPORT,
-			    SUSER_ALLOWJAIL
-			    )
+			    priv_check(p, PRIV_NETINET_RESERVEDPORT)
 			    )) {
 				SCTP_INP_DECR_REF(inp);
 				SCTP_INP_WUNLOCK(inp);



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