From 23ab7d0fa2bae01699c8e9258ee8d232e0474dde Mon Sep 17 00:00:00 2001 From: Mike Barcroft Date: Fri, 2 Nov 2001 17:42:03 +0000 Subject: [PATCH] Rather than just change the arguments to suser() change the function to suser_xxx() as well. Pointy hat to: rwatson --- sys/alpha/osf1/osf1_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/alpha/osf1/osf1_misc.c b/sys/alpha/osf1/osf1_misc.c index 54cb3fbd1d12..ba6c55e231f4 100644 --- a/sys/alpha/osf1/osf1_misc.c +++ b/sys/alpha/osf1/osf1_misc.c @@ -1111,7 +1111,7 @@ osf1_setgid(td, uap) gid = SCARG(uap, gid); oldcred = p->p_ucred; - if (((error = suser(p->p_ucred, NULL, PRISON_ROOT)) != 0 ) && + if (((error = suser_xxx(p->p_ucred, NULL, PRISON_ROOT)) != 0 ) && gid != oldcred->cr_rgid && gid != oldcred->cr_svgid) return (error);