mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Restore correct UID.
This commit is contained in:
parent
4ae1869356
commit
7bfee6767d
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue