/* context sub struct */
-#define NUM_RLIMITS 20
+#define NUM_RLIMITS 16
-#define VLIMIT_SOCK 16
+#define VLIMIT_SOCK 16
struct _vx_limit {
#ifndef _VX_LIMIT_H
#define _VX_LIMIT_H
-#include <linux/compiler.h>
#include "switch.h"
/* rlimit vserver commands */
#define CRLIM_KEEP (~1ULL)
#ifdef __KERNEL__
+
+#include <linux/compiler.h>
+
extern int vc_get_rlimit(uint32_t, void __user *);
extern int vc_set_rlimit(uint32_t, void __user *);
extern int vc_get_rlimit_mask(uint32_t, void __user *);