[CRIU] [PATCH 1/3] types: Add SCM limits
Cyrill Gorcunov
gorcunov at openvz.org
Mon Mar 19 11:22:40 EDT 2012
We will need them in file descriptors transfer
addressed in further patches.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
include/types.h | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/types.h b/include/types.h
index 0f87b4b..68677da 100644
--- a/include/types.h
+++ b/include/types.h
@@ -195,4 +195,15 @@ enum kcmp_type {
KCMP_TYPES,
};
+/* For UNIX sockets data */
+#ifndef UIO_FASTIOV
+# define UIO_FASTIOV 8
+#endif
+#ifndef UIO_MAXIOV
+#define UIO_MAXIOV 1024
+#endif
+#ifndef SCM_MAX_FD
+# define SCM_MAX_FD 253
+#endif
+
#endif /* CR_TYPES_H_ */
--
1.7.7.6
More information about the CRIU
mailing list