Permalink
Browse files

netlink C ext handle any kind of default signals

The list of signals might change depending on the OS. For example we
have PROC_EVENT_SID for kernels > 2.6.28
  • Loading branch information...
1 parent 8adae62 commit f09c1e177a6e0d3608d18cdbe19f335a05b5b683 @zimbatm zimbatm committed Jan 10, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 ext/god/netlink_handler.c
@@ -87,10 +87,7 @@ nlh_handle_events()
rb_funcall(cEventHandler, m_call, 3, INT2FIX(event->event_data.fork.parent_pid), ID2SYM(proc_fork), extra_data);
return INT2FIX(1);
- case PROC_EVENT_NONE:
- case PROC_EVENT_EXEC:
- case PROC_EVENT_UID:
- case PROC_EVENT_GID:
+ default:
break;
}
}

0 comments on commit f09c1e1

Please sign in to comment.