[CRIU] [PATCH] proc_parse: Borrow vmi iif there is file referenced

Cyrill Gorcunov gorcunov at gmail.com
Thu Mar 6 01:26:28 PST 2014


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?


More information about the CRIU mailing list