In root case, store into NEWAUX, not old vector.
authorroland <roland>
Fri, 22 Dec 1995 16:51:24 +0000 (16:51 +0000)
committerroland <roland>
Fri, 22 Dec 1995 16:51:24 +0000 (16:51 +0000)
sysdeps/mach/hurd/setuid.c

index 586ad21..c2491d6 100644 (file)
@@ -66,7 +66,7 @@ DEFUN(__setuid, (uid), uid_t uid)
              newaux = auxbuf;
              naux = 2;
            }
              newaux = auxbuf;
              naux = 2;
            }
-         _hurd_id.aux.uids[0] = _hurd_id.aux.uids[1] = uid;
+         newaux[0] = newaux[1] = uid;
        }
       else
        {
        }
       else
        {