Leave rsyslog enabled for Fedora 8.
[util-vserver.git] / lib / vserver.h
index bc21f78..886e6a5 100644 (file)
 #define VC_VXC_ADMIN_MAPPER            0x00200000ull
 #define VC_VXC_ADMIN_CLOOP             0x00400000ull
 
+#define VC_VXC_KTHREAD                 0x01000000ull
+
 
 // the scheduler flags
 #define VC_VXSM_FILL_RATE              0x0001
 #ifndef CLONE_NEWIPC
 #  define CLONE_NEWIPC                 0x08000000
 #endif
-
+#ifndef CLONE_NEWUSER
+#  define CLONE_NEWUSER                        0x10000000
+#endif
 
 
 #define VC_BAD_PERSONALITY             ((uint_least32_t)(-1))
@@ -821,6 +825,9 @@ extern "C" {
   int          vc_set_mapping(xid_t xid, const char *device, const char *target, uint32_t flags);
   int          vc_unset_mapping(xid_t xid, const char *device, const char *target, uint32_t flags);
 
+  int          vc_get_badness(xid_t xid, int64_t *badness);
+  int          vc_set_badness(xid_t xid, int64_t badness);
+
 
   /** \brief    Information about parsing errors
    *  \ingroup  helper