Made linux_event_watcher_t know whether to call adjust_resource, forget_resource, watch_resource in remask.