PERFORCE change 120711 for review

Robert Watson rwatson at FreeBSD.org
Fri Jun 1 14:12:26 UTC 2007


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

Change 120711 by rwatson at 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);


More information about the p4-projects mailing list