[CRIU] [PATCH 0/9] cr_errno, v4

Ruslan Kuprieiev kupruser at gmail.com
Mon Dec 22 06:22:19 PST 2014


22.12.2014 15:45, Pavel Emelyanov пишет:
> On 12/22/2014 04:01 PM, Ruslan Kuprieiev wrote:
>> And what about 7 through 9?
>
> They depend on the 6th (potentially).
>

You are right. But they still work just as planned.
Tests(patches 7 and 9) work just fine. And libcriu patch(8)
sets cr_errno only if has_cr_errno is true, so it works
fine too.

>> 19.12.2014 18:00, Pavel Emelyanov пишет:
>>> On 12/11/2014 11:55 PM, Ruslan Kuprieiev wrote:
>>>> Currently our RPC doesn't provide almost any info
>>>> about failed request. Lets add first 4 most common
>>>> errors to be reported by service. These are:
>>>>     Process with such pid already exists(Pid do not match expected)
>>>>     No process with such pid
>>>>     Bad opts
>>>>
>>>> v2, changed the way we trasfer cr_errno from children and fixed
>>>>       error codes
>>>> v3, atomic_cmpxchg used for cr_err
>>>> v4, use helpers to access cr_err and cr_errno
>>>
>>> 1 through 5 applied. For the 6th I have a comment.
>>>
>> .
>>
>


More information about the CRIU mailing list