summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2001-11-02 17:42:03 +0000
committermike <mike@FreeBSD.org>2001-11-02 17:42:03 +0000
commit3143414cffc8f56c844a1de625c2799c37aa7cc9 (patch)
treebce3c35f24c27a3dcf9aa88ae38551df5a212abc /sys/alpha
parente52e9d5b995d096ac83af5a45b69f59296456d54 (diff)
downloadFreeBSD-src-3143414cffc8f56c844a1de625c2799c37aa7cc9.zip
FreeBSD-src-3143414cffc8f56c844a1de625c2799c37aa7cc9.tar.gz
Rather than just change the arguments to suser() change the function to
suser_xxx() as well. Pointy hat to: rwatson
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/osf1/osf1_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/osf1/osf1_misc.c b/sys/alpha/osf1/osf1_misc.c
index 54cb3fb..ba6c55e 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);
OpenPOWER on IntegriCloud