[CRIU] [PATCH 3/4] zdtm: add a test with a lot of file descriptors (v2)

Andrey Vagin avagin at openvz.org
Wed Apr 6 07:38:26 PDT 2016


On Wed, Apr 6, 2016 at 5:01 AM, Pavel Emelyanov <xemul at virtuozzo.com> wrote:
>
>> diff --git a/test/zdtm/static/fds.desc b/test/zdtm/static/fds.desc
>> new file mode 100644
>> index 0000000..abb8c90
>> --- /dev/null
>> +++ b/test/zdtm/static/fds.desc
>> @@ -0,0 +1 @@
>> +{'flags': 'suid', "init" : resource.setrlimit(resource.RLIMIT_NOFILE, (10240, 10240))}
>
> The 'init' field of test desc is currently not used by zdtm.py

It's here to set rlimit, which will be called from eval(), when
fds.desc is loaded

>
> -- Pavel
>


More information about the CRIU mailing list