From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Jan Stancek <jstancek@redhat.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/3] setns: add new syscall test setns01
Date: Wed, 06 Feb 2013 17:07:09 +0800 [thread overview]
Message-ID: <51121D3D.7090707@cn.fujitsu.com> (raw)
In-Reply-To: <1617294472.837757.1360141026616.JavaMail.root@redhat.com>
On 02/06/2013 04:57 PM, Jan Stancek wrote:
>
>
> ----- Original Message -----
>> From: "Wanlong Gao" <gaowanlong@cn.fujitsu.com>
>> To: "Jan Stancek" <jstancek@redhat.com>
>> Cc: gaowanlong@cn.fujitsu.com, ltp-list@lists.sourceforge.net
>> Sent: Wednesday, 6 February, 2013 9:48:17 AM
>> Subject: Re: [LTP] [PATCH 2/3] setns: add new syscall test setns01
>>
>>
>> So, how about adding fd and ns_type setting in setup4:
>>
>> + int i;
>> + for (i = 0; i < NS_TOTAL; i++)
>> + if (ns_fds[i] != -1) {
>> + t->fd = ns_fds[i];
>> + t->ns_type = ns_types[i];
>> + return;
>> + }
>> + t->skip = 1;
>>
>>
>> Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
>>
>> Thanks,
>> Wanlong Gao
>
> Thanks for having a look. I was thinking the same, I'm just building
> latest kernel tree to double check it. I'll send v2 afterwards.
Yeah, thank you. namespace part is in heavy development
recently, your contribution is very useful. 8-)
Thanks,
Wanlong Gao
>
> Regards,
> Jan
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-02-06 9:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-05 15:57 [LTP] [PATCH 0/3] add new syscall test for setns(2) Jan Stancek
2013-02-05 15:57 ` [LTP] [PATCH 1/3] setns: setup directory at kernel/syscalls/setns Jan Stancek
2013-02-06 8:44 ` Wanlong Gao
2013-02-05 15:57 ` [LTP] [PATCH 2/3] setns: add new syscall test setns01 Jan Stancek
2013-02-06 7:05 ` Wanlong Gao
2013-02-06 8:48 ` Wanlong Gao
2013-02-06 8:57 ` Jan Stancek
2013-02-06 9:07 ` Wanlong Gao [this message]
2013-02-05 15:57 ` [LTP] [PATCH 3/3] setns: add new syscall test setns02 Jan Stancek
2013-02-06 8:44 ` Wanlong Gao
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=51121D3D.7090707@cn.fujitsu.com \
--to=gaowanlong@cn.fujitsu.com \
--cc=jstancek@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/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