Date: Tue, 3 Oct 2006 11:22:56 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 107158 for review Message-ID: <200610031122.k93BMu9u072302@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107158 Change 107158 by rwatson@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610031122.k93BMu9u072302>