use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / src / exec-ulimit.c
index a4ff4f8..a487963 100644 (file)
@@ -26,7 +26,9 @@
 #include <sys/resource.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <errno.h>
 
+#define ENSC_WRAPPERS_PREFIX   "exec-ulimit: "
 #define ENSC_WRAPPERS_UNISTD   1
 #define ENSC_WRAPPERS_FCNTL    1
 #define ENSC_WRAPPERS_RESOURCE 1
@@ -40,6 +42,7 @@ static struct {
     char const *fname;
     int                code;
 } const LIMITS[] = {
+  DECLARE_LIMIT(CORE,    core),
   DECLARE_LIMIT(CPU,     cpu),
   DECLARE_LIMIT(DATA,    data),
   DECLARE_LIMIT(FSIZE,   fsize),