handler, but use _exit(2) instead.
2005-02-27 Erez Zadok <ezk@cs.sunysb.edu>
+ * hlfsd/hlfsd.c (reaper, cleanup): don't use exit(3) in a signal
+ handler, but use _exit(2) instead.
+
* amd/amd.c (parent_exit): This signal handler is called during
Amd initialization. The parent forks a child to do all the hard
automounting work, and waits for a SIGQUIT signal from the child.
* SUCH DAMAGE.
*
*
- * $Id: hlfsd.c,v 1.31 2005/02/17 03:37:42 ezk Exp $
+ * $Id: hlfsd.c,v 1.32 2005/02/27 23:53:22 ezk Exp $
*
* HLFSD was written at Columbia University Computer Science Department, by
* Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@cs.columbia.edu>
}
plog(XLOG_INFO, "hlfsd terminating with status 0\n");
- exit(0);
+ _exit(0);
}
int result;
if (wait(&result) == masterpid) {
- exit(4);
+ _exit(4);
}
}