- 31 May, 2012 2 commits
-
-
Cyrill Gorcunov authored
Code to test socketpair (extracted from previous sockets00 test case). Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Don't mix various types of sockets in a single test case, in case of problems it become harder to fins which kind of socket failed. The removed test cases will be addressed in further patches. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 17 May, 2012 2 commits
-
-
Pavel Emelyanov authored
Shifd fd and type left and print ID with %#x Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Print IDs with %#x to get rid of spaces between 0x and numbers. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 30 May, 2012 20 commits
-
-
Kinsbursky Stanislav authored
The reason for this patch is that only phony goal can depend on phony targets. But with protobuf we will have to execute phony targets prior to main target build. So, this patch set add few new goals and dependences: 1) "all" become default goal. 2) new goals "deps" and "preq" introduced. 3) "all" depends on "deps" and "crtools". 4) All global goals like "zdtm" and "test-legacy" now depends on "all". Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Instead of using wildcard expressions like "*.c" lets implicitely specify desired dependence files. Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Also, .PHONY have to be specified prior to desired goals, And it's better to have one line for all goals instead on one line per goal. Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Replace dances with "|" by simple dependence rule both for DEPS and OBJS. Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Use fdtype_ops facility to c/r inet sockets. v2: - Use BUG_ON if socket is attempted to be dumped several times Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Use fdtype_ops facility to c/r unix sockets. v2 - BUG_ON added in dump_one_unix_fd if socket is already dumped since we never should dump same socket several times - The order of restore remains as it was before, the lookup is done via socket inode numbers Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Stanislav Kinsbursky authored
The task is not complete - this is just a part of what have to be done. I.e. looks like a lot of excessive deps can be fixed. Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Victor Konyashkin authored
Need increase buffer in msgque.c to avoid overflow via memcpy, because now mtext[20] less than ANOTHER_TEST_STRING "Yet another test sysv5 msg". Signed-off-by:
Victor Konyashkin <vkonyashkin@parallels.com> Acked-by:
Andrey Vagin <avagin@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Victor Konyashkin authored
It's need to add -Wno-unused-result option to lib and static Makefile to avoid errors like: msg.c:58:8: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] Signed-off-by:
Victor Konyashkin <vkonyashkin@parallels.com> Acked-by:
Andrey Vagin <avagin@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Viktor Konyashkin authored
The mode argument must be supplied when O_CREAT is specified in flags. Otherwise it will cause compile error due to -Werror is specified. Signed-off-by:
Viktor Konyashkin <vkonyashkin@parallels.com> Acked-by:
Andrew Vagin <avagin@parallels.com> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
The testcase is buggy -- the signal is delivered _before_ we checkpoint and restore it, thus it checks nothing. But after the fix test fails, due to bug in fowners restore. Will fix it later. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Otherwise this memory are initialized from parent and child, but parent may initialize, when a child has written a useful data. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Otherwise waitpid returns -EINTR and the test case fails. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Kinsbursky Stanislav authored
Signed-off-by:
Stanislav Kinsbursky <skinsbursky@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
Otherwise I see output like | Dumping path for 1536412160 fd via self 27 [/usr/bin/screen] where fd is taken from stack and what is worse -- we work with root privilegues, thus dumping _anything_ from stack is very bad idea. With explicitly cleared stack data and FD_DESC_INVALID the log file will have an entry like | Dumping path for -3 fd via self 27 [/usr/bin/screen] Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
This will allow to implement tty dumping in future. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Cyrill Gorcunov authored
It's really confusing when one use -o option and didn't see update on top of log file. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 25 May, 2012 1 commit
-
-
Cyrill Gorcunov authored
This eliminates the warning below as well | pipes.c: In function ‘open_pipe’: | pipes.c:252:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 18 May, 2012 3 commits
-
-
Andrey Vagin authored
to fix warning "error: ‘XXXXXX’ defined but not used" Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
We want to know about this warnings Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 15 May, 2012 2 commits
-
-
Cyrill Gorcunov authored
Make it more readable. Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
The global variable me isn't initialized, when we tried to use it. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 13 May, 2012 3 commits
-
-
Pavel Emelyanov authored
The proc_parse file turns into a strange pile of homebrew scanf/fgets/strtok/strchr/etc. combination. I don't like it :( Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
We'll have to parse it all and the format is not scanf friendly, so it's simpler to have it in a separate fn. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Make the proc_mountinfo obtaned after parse form a single linked list. That's much easier to handle and doesn't have an artificial limitation of 64 items... Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 15 May, 2012 2 commits
-
-
Andrey Vagin authored
Otherwise it shows nothing without the verbose option Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Andrey Vagin authored
to be sure that all declarations consistent. Signed-off-by:
Andrey Vagin <avagin@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
- 11 May, 2012 5 commits
-
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
What is stored there is the path to mountpoint. The root is the field previously named "parent root". Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Just put names right into desc template array. Nobody uses these individually. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-
Pavel Emelyanov authored
Introduce a helper, that will declare one tmpl entry with one line. Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
-