[CRIU] [PATCH 3/3] x86: Implement prlimit proxy
Cyrill Gorcunov
gorcunov at openvz.org
Mon May 20 09:52:53 EDT 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>
---
arch/x86/Makefile | 1 +
arch/x86/include/asm/prlimit.h | 14 +++++++++
arch/x86/include/asm/types.h | 1 +
arch/x86/prlimit.c | 68 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 84 insertions(+)
create mode 100644 arch/x86/include/asm/prlimit.h
create mode 100644 arch/x86/prlimit.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-x86-Implement-prlimit-proxy.patch
Type: text/x-patch
Size: 2959 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130520/6d9c2909/attachment.bin>
More information about the CRIU
mailing list