arm: added ARM versions of the POSIX timer syscalls

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
unix: Support semi-closed stream connection

Unix socket and have no peer, but be in established state.
Such types of sockets appear when one end of a connection
closes and leaves the peer in full-shutdown state.

Check this and handle properly on restore.

Reported-by: Florian Gross <Florian.S.Gross@web.de>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
zdtm: Add test for semi-closed unix connection

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
posix-timers: don't call ferror for NULL

parse_posix_timers should not call ferror if fopen returned NULL.

Reported-by: Adrian Reber <adrian@lisas.de>
Cc: Pavel Tikhomirov <snorcht@gmail.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
mem: Lower messages severity for inability to reset dirty tracker

The _actual_ need for this is checked in other place.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
posix-timer: make parser a bit more readable

Cc: Pavel Tikhomirov <snorcht@gmail.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
mem: Remove pagemap2 mentions

This file was created for backward compatibility with
not-yet-patched kernel. Now we can remove it.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
kerndat: Sanitize pagemap entry read err check

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>