[CRIU] [PATCH 4/4] Implement prlimit proxy
Cyrill Gorcunov
gorcunov at openvz.org
Fri Jan 11 09:33:10 EST 2013
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 at openvz.org>
---
Makefile | 2 ++
cr-dump.c | 1 +
include/prlimit.h | 18 ++++++++++++++++
prlimit.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 85 insertions(+)
create mode 100644 include/prlimit.h
create mode 100644 prlimit.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Implement-prlimit-proxy.patch
Type: text/x-patch
Size: 2745 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130111/720476e1/attachment.bin>
More information about the CRIU
mailing list