Linux Container Development
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Linux Containers <containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>
Subject: [PATCH user-cr] s390: define struct pid_set
Date: Wed, 16 Sep 2009 22:47:03 -0500	[thread overview]
Message-ID: <20090917034703.GA25290@us.ibm.com> (raw)

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

             reply	other threads:[~2009-09-17  3:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-17  3:47 Serge E. Hallyn [this message]
     [not found] ` <20090917034703.GA25290-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-09-18 17:00   ` [PATCH user-cr] s390: define struct pid_set Oren Laadan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090917034703.GA25290@us.ibm.com \
    --to=serue-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox