[CRIU] [PATCH] proc_parse: Borrow vmi iif there is file referenced
Pavel Emelyanov
xemul at parallels.com
Thu Mar 6 01:29:08 PST 2014
On 03/06/2014 01:26 PM, Cyrill Gorcunov wrote:
> On Thu, Mar 06, 2014 at 12:59:00PM +0400, Pavel Emelyanov wrote:
>>> -
>>> - return 0;
>>> + if (prev->vm_file_fd >= 0) {
>>
>> vm_file_fd is union with packet socket ID. Strictly speaking this
>> check is not correct as well.
>
> Hmm, then I fail to how to implement such check without calling
> for vma->vm_file_fd = openat(). What else we can test there?
That vma is _not_ packet socket.
> .
>
More information about the CRIU
mailing list