Fix compilation on toolchain without prlimit
Some toolchains which are not bionic like uclibc does not support
prlimit or prlimit64. In this case, return an error.
Moreover, if prlimit64 is available, use lxc implementation of prlimit.
Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com>
Showing
Please
register
or
sign in
to comment