diff options
author | hjl <hjl> | 2000-08-26 04:09:40 +0000 |
---|---|---|
committer | hjl <hjl> | 2000-08-26 04:09:40 +0000 |
commit | 5591654c71e7e2e5959c8718a7e880516b9081e8 (patch) | |
tree | bc3b971d883319f2f7aeeee67a58d066fa341398 /support/misc/tcpwrapper.c | |
parent | 764e46f5c5fe1a6e376f4cd350424f33afc9e838 (diff) | |
download | nfs-utils-5591654c71e7e2e5959c8718a7e880516b9081e8.tar.gz nfs-utils-5591654c71e7e2e5959c8718a7e880516b9081e8.tar.xz nfs-utils-5591654c71e7e2e5959c8718a7e880516b9081e8.zip |
2000-08-25 Ion Badulescu <ionut@cs.columbia.edu>
* utils/rquotad/rquotad.man, utils/statd/statd.man,
utils/mountd/mountd.man: updated
* utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
* utils/rquotad/Makefile: fix comment
* support/misc/tcpwrapper.c (logit): added comment about waiting
for the children after fork()
* utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
zombies behind (from logit()'s fork)
* utils/rquotad/rquota_svc.c (main): ditto
* utils/statd/statd.c (main): ditto
* utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
to check_default instead of 0, for prognum
* utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
to check_default instead of 0, for prognum
* utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
HAVE_TCP_WRAPPER is defined.
(mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
defined. Reject an RPC call if check_default () fails.
Diffstat (limited to 'support/misc/tcpwrapper.c')
-rw-r--r-- | support/misc/tcpwrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/misc/tcpwrapper.c b/support/misc/tcpwrapper.c index 498a829..ba76864 100644 --- a/support/misc/tcpwrapper.c +++ b/support/misc/tcpwrapper.c @@ -229,6 +229,8 @@ char *text; /* * Fork off a process or the portmap daemon might hang while * getrpcbynumber() or syslog() does its thing. + * + * Don't forget to wait for the children, too... */ if (fork() == 0) { |