[CRIU] [PATCH 01/11] types: Add SCM limits

Cyrill Gorcunov gorcunov at openvz.org
Sun Mar 25 09:35:14 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 |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/types.h b/include/types.h
index 0f87b4b..de90b19 100644
--- a/include/types.h
+++ b/include/types.h
@@ -195,4 +195,9 @@ enum kcmp_type {
 	KCMP_TYPES,
 };
 
+/* For UNIX sockets data */
+#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