public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net
Cc: Subrata Modak1 <subrata.modak@in.ibm.com>,
	Nathan T Lynch <natlynch@us.ibm.com>
Subject: Re: [LTP] [PATCH 1/1] Containers: Pass a valid stack address to clone
Date: Wed, 2 Sep 2009 16:13:38 -0400	[thread overview]
Message-ID: <200909021613.39566.vapier@gentoo.org> (raw)
In-Reply-To: <20090902141027.GA13905@us.ibm.com>


[-- Attachment #1.1: Type: Text/Plain, Size: 632 bytes --]

On Wednesday 02 September 2009 10:10:27 Serge E. Hallyn wrote:
> Also fix the libnetns helper to, like the libclone one, special-case
> hppa and pass the bottom of the stack to clone2 for __ia64__ (as per
> the libclone example and the clone2 manpage).  I don't know and can't
> test whether it's right, but have to assume that one of the other was
> wrong.

please, let's stop screwing around with this and copying & pasting it 
everywhere.  create a new dedicate "ltp_clone" or similar function and stick 
the arch-specific logic there.
int ltp_clone(func ptr, stack base, stack size, clone flags, func args...)
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 355 bytes --]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2009-09-02 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-02 14:10 [LTP] [PATCH 1/1] Containers: Pass a valid stack address to clone Serge E. Hallyn
2009-09-02 20:13 ` Mike Frysinger [this message]
2009-09-07 11:40   ` Subrata Modak
2009-09-08  4:53     ` Serge E. Hallyn

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=200909021613.39566.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=natlynch@us.ibm.com \
    --cc=subrata.modak@in.ibm.com \
    /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