#include #include #include "msntab.h" struct tabentry* msntab_check_call(const char *callee, const char *caller) { static char *args[] = { "/bin/cat", NULL }; static struct tabentry ca = { CALL_ACTION_ACCEPT, 1, args }; return msntab_ref(&ca); } struct tabentry* msntab_ref(struct tabentry *t) { assert(t && t->ref_counter >= 1); t->ref_counter++; return t; } void msntab_unref(struct tabentry *t) { assert(t && t->ref_counter >= 1); t->ref_counter--; }