make: test: rpc: don't forget to delete rpc_pb2.pyc

When performing "make clean" rpc_pb2.pyc should be deleted as well.

Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
make: clean at test/rpc when performing "make clean" from main dir

Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
rst: Check for task->state to restore in one place

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
files-reg: Don't dereference pointer before its NULL check

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
files-reg: Sanitize rlb and rlb->path malloc/rollback code flow

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
files: Don't double-close the image fd on error

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
util: Don't xfree pointer on xmalloc-ed pointer

... free the pointer itself :)

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
vdso: x86 -- Simplify vdso_proxify

No need for second if() statement, merge everything
in previous one.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
vdso: x86 -- Fix missing ability to remap vDSO if only one zone present

Occasionally I ruined the ability to do a in-place remap for
pre 3.16 kernels. Bring it back.

CID 1230182:  Logically dead code  (DEADCODE)

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
vdso: restorer -- Don't forget to access proper vma from the list

Otherwise we might take a look on last vma from previous
cycle not running vdso analisys at all.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>