[CRIU] Re: [PATCH 1/6] types: Add SCM limits
Pavel Emelyanov
xemul at parallels.com
Wed Mar 21 06:39:18 EDT 2012
On 03/21/2012 11:47 AM, Cyrill Gorcunov wrote:
> 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
Unused
> +#ifndef UIO_MAXIOV
> +#define UIO_MAXIOV 1024
> +#endif
Unused
> +#ifndef SCM_MAX_FD
> +# define SCM_MAX_FD 253
> +#endif
> +
> #endif /* CR_TYPES_H_ */
More information about the CRIU
mailing list