On 02/06/2013 04:57 PM, Jan Stancek wrote:
> 
> 
> ----- Original Message -----
>> From: "Wanlong Gao" <[email protected]>
>> To: "Jan Stancek" <[email protected]>
>> Cc: [email protected], [email protected]
>> 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 <[email protected]>
>>
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to