From b7489d130f71d117b1617af894bcfa63537c2eea Mon Sep 17 00:00:00 2001 From: probe Date: Sun, 7 Jun 1992 12:27:30 +0000 Subject: [PATCH] Special case SYSADMINID (as a part of SYSADMINID); perform this check first, as this will be the most common during the Moira bulk load --- afssync/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/afssync/utils.c b/afssync/utils.c index 33c472cc..a56a57ee 100644 --- a/afssync/utils.c +++ b/afssync/utils.c @@ -766,6 +766,9 @@ long gid; long i; long loc; + /* special case sysadmin */ + if (gid==SYSADMINID && aid==SYSADMINID) return 1; + /* special case anyuser and authuser */ if (gid == ANYUSERID) return 1; if (gid == AUTHUSERID && aid != ANONYMOUSID) return 1; -- 2.45.2