+
+void
+xsigaction(int signum, const struct sigaction *new, struct sigaction *old)
+{
+ if (sigaction(signum, new, old)) {
+ VLOG_FATAL("sigaction(%s) failed (%s)",
+ signal_name(signum), strerror(errno));
+ }
+}
+
+void
+xsigprocmask(int how, const sigset_t *new, sigset_t *old)
+{
+ if (sigprocmask(how, new, old)) {
+ VLOG_FATAL("sigprocmask failed (%s)", strerror(errno));
+ }
+}