]> andersk Git - moira.git/commitdiff
Special case SYSADMINID (as a part of SYSADMINID);
authorprobe <probe>
Sun, 7 Jun 1992 12:27:30 +0000 (12:27 +0000)
committerprobe <probe>
Sun, 7 Jun 1992 12:27:30 +0000 (12:27 +0000)
perform this check first, as this will be the most common during the
Moira bulk load

afssync/utils.c

index 33c472ccb4e6a5780d3866e9ace451a0f190ce7d..a56a57eea48668452d1b42bc9149cc7fc574355d 100644 (file)
@@ -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;
This page took 0.121632 seconds and 5 git commands to generate.