* patch for nscd
@ 2000-03-16 7:07 Thorsten Kukuk
2000-03-17 10:31 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Kukuk @ 2000-03-16 7:07 UTC (permalink / raw)
To: libc-hacker
Hi,
The following patch is necessary for glibc 2.1 and glibc 2.2:
2000-03-16 Thorsten Kukuk <kukuk@suse.de>
* nscd/hstcache.c: Restore correct UID.
* nscd/pwdcache.c: Likewise.
Patch from Gabor Gombas <gombasg@inf.elte.hu>
--- nscd/hstcache.c
+++ nscd/hstcache.c 2000/03/16 13:32:39
@@ -318,7 +318,7 @@
}
if (secure[hstdb])
- seteuid (uid);
+ seteuid (oldeuid);
cache_addhst (db, fd, req, key, hst, uid);
}
--- nscd/pwdcache.c
+++ nscd/pwdcache.c 2000/03/16 13:31:11
@@ -224,7 +224,7 @@
}
if (secure[pwddb])
- seteuid (c_uid);
+ seteuid (oldeuid);
cache_addpw (db, fd, req, key, pwd, c_uid);
}
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: patch for nscd
2000-03-16 7:07 patch for nscd Thorsten Kukuk
@ 2000-03-17 10:31 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2000-03-17 10:31 UTC (permalink / raw)
To: Thorsten Kukuk; +Cc: libc-hacker
Thorsten Kukuk <kukuk@suse.de> writes:
> 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
>
> * nscd/hstcache.c: Restore correct UID.
> * nscd/pwdcache.c: Likewise.
I've applied this now. Thanks,
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-03-17 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-16 7:07 patch for nscd Thorsten Kukuk
2000-03-17 10:31 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).