git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
linux
/
vserver
/
dlimit_cmd.h
diff --git
a/include/linux/vserver/dlimit_cmd.h
b/include/linux/vserver/dlimit_cmd.h
index
35f7a68
..
1aedb36
100644
(file)
--- a/
include/linux/vserver/dlimit_cmd.h
+++ b/
include/linux/vserver/dlimit_cmd.h
@@
-25,11
+25,16
@@
struct vcmd_ctx_dlimit_v0 {
uint32_t flags;
};
uint32_t flags;
};
+#define CDLIM_UNSET ((uint32_t)0UL)
+#define CDLIM_INFINITY ((uint32_t)~0UL)
+#define CDLIM_KEEP ((uint32_t)~1UL)
#ifdef __KERNEL__
#ifdef CONFIG_COMPAT
#ifdef __KERNEL__
#ifdef CONFIG_COMPAT
+#include <asm/compat.h>
+
struct vcmd_ctx_dlimit_base_v0_x32 {
compat_uptr_t name_ptr;
uint32_t flags;
struct vcmd_ctx_dlimit_base_v0_x32 {
compat_uptr_t name_ptr;
uint32_t flags;