make: Don't generate tags/cscope for tools/ and test/

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
net: Don't fail if there is no ip dump data

If we met empy file just continue execution.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mnt: Add simfs entry to a list of supported fs

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
make: Add utilities.mak

Some features need to be tested on the system
where the crtools is compiled, in particular we
will need to know if prlimit is implemented.

The file is taken from kernel's perf tool code.
And adopted for our needs.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
make: Add scripts/utilities.mak

Some features need to be tested on the system
where the crtools is compiled, in particular we
will need to know if prlimit is implemented.

Some snippets are taken from kernel's perf code.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
make: Add test for prlimit libc call to exist

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
x86: syscall -- Add sys_prlimit64 call

We will need it for own prlimit proxy call.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
x86: Implement prlimit proxy

RHEL6 is shipped with libc 2.12 where no prlimit
helper provided (which was pushed into libc itself
since 2.13). So we implement own proxy for convenience.

Note, if libc does support prlimit itself we simply
don't use any proxy and call it directly.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
cpt2: Initial commit

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Massive update

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Update printing

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Format update

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
mm: Fix vma::pgoff

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
vma rework -- take 1

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
vma rework - take 2

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
update

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
update

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
prelim

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
ok

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
sk-unix: Print error message if external socket failure happened

show_one_unix uses pr_debug to provide details (for developers
mostly) but when regular user meets such a case better to
warn him about problem rather than exit out silently.

Reported-by: Kevin Wilson <wkevils@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>