mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-14 03:53:36 +08:00
a12ce44f69
2003-05-03 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (main): Parse config file right after parsing parameters. Then, if get_stats is true, call receive_print_stats. Drop parameter from nscd_init call. (get_stats): New variable. (parse_opt): Set get_stats, don't call receive_print_stats here. * nscd/nscd.h: Declare dbs, stat_user, and stat_uid. Adjust nscd_init prototype. * nscd/connections.c (stat_user, stat_uid): New variables. (dbs): Make global. (nscd_init): Don't read configuration file here. Drop parameter. (handle_request): Cleanup handling of non-database lookup requests. * nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry. Get UID of the specified user. Use xstrdup instead of strdup. * nscd/nscd_stat.c (receive_print_stats): Check UID. If not zero, check stat_user. * nscd/Makefile (nscd-modules): Add xstrdup. * nscd/nscd.conf: Document stat-user entry. 2003-05-03 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define if not defined. |
||
---|---|---|
.. | ||
cache.c | ||
connections.c | ||
dbg_log.c | ||
dbg_log.h | ||
Depend | ||
getgrgid_r.c | ||
getgrnam_r.c | ||
gethstbyad_r.c | ||
gethstbynm2_r.c | ||
getpwnam_r.c | ||
getpwuid_r.c | ||
grpcache.c | ||
hstcache.c | ||
Makefile | ||
nscd_conf.c | ||
nscd_getgr_r.c | ||
nscd_gethst_r.c | ||
nscd_getpw_r.c | ||
nscd_nischeck.c | ||
nscd_proto.h | ||
nscd_stat.c | ||
nscd-client.h | ||
nscd.c | ||
nscd.conf | ||
nscd.h | ||
nscd.init | ||
pwdcache.c | ||
TODO |