Serge E. Hallyn wrote:
> Assume the definition was lost in pulling this code out of
> mktree.c.

yes it was... thanks.

> 
> Signed-off-by: Serge E. Hallyn <[email protected]>
> ---
>  clone_s390x.c |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
> 
> diff --git a/clone_s390x.c b/clone_s390x.c
> index 39d12e5..661a5c4 100644
> --- a/clone_s390x.c
> +++ b/clone_s390x.c
> @@ -24,6 +24,12 @@
>   */
>  #if defined(__NR_clone_with_pids)
>  
> +/* this really belongs to some kernel header ! */
> +struct pid_set {
> +     int num_pids;
> +     pid_t *pids;
> +};
> +
>  /* (see: http://lkml.indiana.edu/hypermail/linux/kernel/9604.3/0204.html) */
>  
>  #define do_clone_with_pids(stack, flags, ptid, ctid, setp) ({ \
> @@ -47,7 +53,7 @@
>       })
>  
>  int clone_with_pids(int (*fn)(void *), void *child_stack, int flags,
> -                     struct target_pid_set *target_pids, void *arg)
> +                     struct pid_set *target_pids, void *arg)
>  {
>       long retval;
>       retval = do_clone_with_pids(child_stack, flags, NULL, NULL,
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to