2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 05:48:05 +00:00

64 Commits

Author SHA1 Message Date
Pavel Emelyanov
a80e9e2eab check: Add check for epoll is shown proerly in fdinfo
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-07-11 09:55:10 +04:00
Pavel Emelyanov
7baadd7f1b check: Fix set_mm_exe_file prctl retcode
Now it is EBADF for bogus descriptor we pass

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-07-11 09:46:44 +04:00
Pavel Emelyanov
888bc286df check: Add check for evetfd is shown proerly in fdinfo
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-07-11 09:45:32 +04:00
Pavel Emelyanov
4ec76b285f tcp: Add code for "check"-ing TCP repair support
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-05-03 15:21:37 +04:00
Cyrill Gorcunov
6670d294fb prctl: Update PR_GET_TID_ADDR definition
To reflect the change in kernel v3.4-rc4
update PR_GET_TID_ADDR and rename it to
PR_GET_TID_ADDRESS as it named in kernel.

[xemul: this fixes futex test broken with 3.4 rebase]

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-26 00:54:48 +04:00
Cyrill Gorcunov
87d2ff5ee7 check: We need CAP_SYS_RESOURCE granted to perform testing
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-05 21:32:40 +04:00
Cyrill Gorcunov
9e3befe046 check: Add test for /proc/pid/stat extension
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-05 16:39:35 +04:00
Cyrill Gorcunov
88ca24bb38 check: Add fcntl stub
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-05 16:38:54 +04:00
Cyrill Gorcunov
92b26d8804 check: prctl -- Add PR_SET_MM_AUXV test
The ability to set PR_SET_MM_AUXV is implemented
in kernel as a separate PR_SET_MM extension, so
we need to test if the kernel patch is applied
on a running system.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-05 16:38:36 +04:00
Cyrill Gorcunov
b264c6e2ed check: prctl -- Add PR_SET_MM_AUXV test
Add basic test for prctl PR_SET_MM opcodes support.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-05 16:38:15 +04:00
Cyrill Gorcunov
0cf8d1e158 check: Add kcmp test
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-04-05 15:39:18 +04:00
Pavel Emelyanov
65ebd845e5 check: Fix peek_off getting
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2012-03-24 15:28:10 +04:00
Pavel Emelyanov
e6c88abd62 check: Add some basic checks
* /proc/<pid>/map_files
* sock diag
* ns_last_pid sysctl
* SO_PEEK_OFF sockoptions

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-03-02 14:15:28 +04:00
Pavel Emelyanov
c39e759048 check: Initial skeleton
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-03-02 14:15:09 +04:00