[master] b786d41 panic with INCOMPL() rather than exit(4)
Nils Goroll
nils.goroll at uplex.de
Fri Aug 29 14:51:16 CEST 2014
commit b786d418992467ca97046df9273f3b65d28b6486
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Fri Aug 29 14:50:31 2014 +0200
panic with INCOMPL() rather than exit(4)
Fixes #1583
diff --git a/bin/varnishd/mgt/mgt_sandbox_solaris.c b/bin/varnishd/mgt/mgt_sandbox_solaris.c
index c664cc2..1d1bb06 100644
--- a/bin/varnishd/mgt/mgt_sandbox_solaris.c
+++ b/bin/varnishd/mgt/mgt_sandbox_solaris.c
@@ -235,8 +235,7 @@ mgt_sandbox_solaris_add_inheritable(priv_set_t *pset, enum sandbox_e who)
case SANDBOX_WORKER:
break;
default:
- REPORT(LOG_ERR, "INCOMPLETE AT: %s(%d)\n", __func__, __LINE__);
- exit(4);
+ INCOMPL();
}
}
@@ -262,8 +261,7 @@ mgt_sandbox_solaris_add_effective(priv_set_t *pset, enum sandbox_e who)
priv_setop_assert(priv_addset(pset, "file_write"));
break;
default:
- REPORT(LOG_ERR, "INCOMPLETE AT: %s(%d)\n", __func__, __LINE__);
- exit(4);
+ INCOMPL();
}
}
@@ -285,8 +283,7 @@ mgt_sandbox_solaris_add_permitted(priv_set_t *pset, enum sandbox_e who)
AZ(priv_addset(pset, PRIV_SYS_RESOURCE));
break;
default:
- REPORT(LOG_ERR, "INCOMPLETE AT: %s(%d)\n", __func__, __LINE__);
- exit(4);
+ INCOMPL();
}
}
More information about the varnish-commit
mailing list