public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serue@us.ibm.com>
To: Subrata Modak <subrata@linux.vnet.ibm.com>
Cc: ltp-list@lists.sourceforge.net,
	Nathan T Lynch <natlynch@us.ibm.com>,
	Mike Frysinger <vapier@gentoo.org>
Subject: Re: [LTP] [PATCH 1/1] Containers: Pass a valid stack address to	clone
Date: Mon, 7 Sep 2009 23:53:43 -0500	[thread overview]
Message-ID: <20090908045343.GA28650@us.ibm.com> (raw)
In-Reply-To: <1252323640.4922.28.camel@subratamodak.linux.ibm.com>

Quoting Subrata Modak (subrata@linux.vnet.ibm.com):
> On Wed, 2009-09-02 at 16:13 -0400, Mike Frysinger wrote: 
> > 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
> > -----------------------
> 
> Serge,
> 
> Did you post any new patches after Mikeś comments ?

No I haven't.  I agree with him, and see other cases which could
stand consolidation under syscalls/clone, fs/fs_bind/nsclone,
controllers/cgroup, security/tomoyo, security/selinux-testsuite,
audit-test, and misc/crash.

-serge

------------------------------------------------------------------------------
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
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2009-09-08  4:54 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
2009-09-07 11:40   ` Subrata Modak
2009-09-08  4:53     ` Serge E. Hallyn [this message]

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=20090908045343.GA28650@us.ibm.com \
    --to=serue@us.ibm.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=natlynch@us.ibm.com \
    --cc=subrata@linux.vnet.ibm.com \
    --cc=vapier@gentoo.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