PERFORCE change 107158 for review

Robert Watson rwatson at FreeBSD.org
Tue Oct 3 04:22:59 PDT 2006


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

Change 107158 by rwatson at rwatson_peppercorn on 2006/10/03 11:21:57

	Approximately update priv6 altq for priv(9).

Affected files ...

.. //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_cbq.c#3 edit
.. //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_cdnr.c#3 edit
.. //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_hfsc.c#3 edit
.. //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_priq.c#3 edit
.. //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_red.c#3 edit
.. //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_rio.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_cbq.c#3 (text+ko) ====

@@ -1062,7 +1062,7 @@
 		/* currently only command that an ordinary user can call */
 		break;
 	default:
-#if (__FreeBSD_version > 700000)
+#if (__FreeBSD_version > 600000)
 		error = priv_check(p, PRIV_ALTQ_MANAGE);
 #elsif (__FreeBSD_version > 400000)
 		error = suser(p);

==== //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_cdnr.c#3 (text+ko) ====

@@ -1262,7 +1262,7 @@
 	case CDNR_GETSTATS:
 		break;
 	default:
-#if (__FreeBSD_versoin > 700000)
+#if (__FreeBSD_versoin > 600000)
 		if ((error = priv_check(p, PRIV_ALTQ_MANAGE)) != 0)
 #elsif (__FreeBSD_version > 400000)
 		if ((error = suser(p)) != 0)

==== //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_hfsc.c#3 (text+ko) ====

@@ -1975,7 +1975,7 @@
 	case HFSC_GETSTATS:
 		break;
 	default:
-#if (__FreeBSD_version > 700000)
+#if (__FreeBSD_version > 600000)
 		if ((error = priv_check(p, PRIV_ALTQ_MANAGE)) != 0)
 			return (error);
 #elsif (__FreeBSD_version > 400000)

==== //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_priq.c#3 (text+ko) ====

@@ -772,7 +772,7 @@
 	case PRIQ_GETSTATS:
 		break;
 	default:
-#if (__FreeBSD_version > 700000)
+#if (__FreeBSD_version > 600000)
 		if ((error = priv_check(p, PRIV_ALTQ_MANAGE)) != 0)
 			return (error);
 #elsif (__FreeBSD_version > 400000)

==== //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_red.c#3 (text+ko) ====

@@ -781,7 +781,7 @@
 	case RED_GETSTATS:
 		break;
 	default:
-#if (__FreeBSD_version > 700000)
+#if (__FreeBSD_version > 600000)
 		if ((error = priv_check(p, PRIV_ALTQ_MANAGE)) != 0)
 #elsif (__FreeBSD_version > 400000)
 		if ((error = suser(p)) != 0)

==== //depot/projects/trustedbsd/priv6/src/sys/contrib/altq/altq/altq_rio.c#3 (text+ko) ====

@@ -531,7 +531,7 @@
 	case RIO_GETSTATS:
 		break;
 	default:
-#if (__FreeBSD_versoin > 700000)
+#if (__FreeBSD_versoin > 600000)
 		if ((error = priv_check(p, PRIV_ALTQ_MANAGE)) != 0)
 			return (error);
 #elsif (__FreeBSD_version > 400000)


More information about the trustedbsd-cvs mailing list