Skip to content

Commit

Permalink
Restore correct UID.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Mar 17, 2000
1 parent 4ae1869 commit 7bfee67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nscd/hstcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ addhstbyname (struct database *db, int fd, request_header *req,
}

if (secure[hstdb])
seteuid (uid);
seteuid (oldeuid);

cache_addhst (db, fd, req, key, hst, uid);
}
Expand Down
2 changes: 1 addition & 1 deletion nscd/pwdcache.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ addpwbyname (struct database *db, int fd, request_header *req,
}

if (secure[pwddb])
seteuid (c_uid);
seteuid (oldeuid);

cache_addpw (db, fd, req, key, pwd, c_uid);
}
Expand Down

0 comments on commit 7bfee67

Please sign in to comment.