Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
#ifndef CEPH_COMMON_SIGNAL_H
#define CEPH_COMMON_SIGNAL_H
+#include <signal.h>
+#include <string>
+
// Install the standard Ceph signal handlers
void install_standard_sighandlers(void);
#include "include/types.h"
#include "common/Clock.h"
+#include "common/signal.h"
#include "msg/Messenger.h"
#include "mon/MonClient.h"
dout(1) << " cwd " << get_current_dir_name() << dendl;
+ unblock_all_signals(NULL);
execv(orig_argv[0], new_argv);
dout(0) << "respawn execv " << orig_argv[0] << " failed with " << strerror(errno) << dendl;