[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] [PATCH 2/3] setns: add new syscall test setns01
From:       Wanlong Gao <gaowanlong () cn ! fujitsu ! com>
Date:       2013-02-06 9:07:09
Message-ID: 51121D3D.7090707 () cn ! fujitsu ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic