* [PATCH user-cr] s390: define struct pid_set
@ 2009-09-17 3:47 Serge E. Hallyn
[not found] ` <20090917034703.GA25290-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Serge E. Hallyn @ 2009-09-17 3:47 UTC (permalink / raw)
To: Linux Containers
Assume the definition was lost in pulling this code out of
mktree.c.
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
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,
--
1.6.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH user-cr] s390: define struct pid_set
[not found] ` <20090917034703.GA25290-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2009-09-18 17:00 ` Oren Laadan
0 siblings, 0 replies; 2+ messages in thread
From: Oren Laadan @ 2009-09-18 17:00 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: Linux Containers
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 <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> ---
> 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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-18 17:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-17 3:47 [PATCH user-cr] s390: define struct pid_set Serge E. Hallyn
[not found] ` <20090917034703.GA25290-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-09-18 17:00 ` Oren Laadan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.