[lxc-devel] [lxc/lxc] f48b5f: Fix compilation on toolchain without prlimit

GitHub noreply at github.com
Thu Nov 2 20:41:00 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: f48b5fd8ab03c200eaf5e3a9b03bcd01b2659cf3
      https://github.com/lxc/lxc/commit/f48b5fd8ab03c200eaf5e3a9b03bcd01b2659cf3
  Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
  Date:   2017-11-02 (Thu, 02 Nov 2017)

  Changed paths:
    M configure.ac
    M src/lxc/Makefile.am
    M src/lxc/conf.c

  Log Message:
  -----------
  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 at gmail.com>


  Commit: 190f9aeedcc73753428fdaf5178ee5d16ab840d2
      https://github.com/lxc/lxc/commit/190f9aeedcc73753428fdaf5178ee5d16ab840d2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-02 (Thu, 02 Nov 2017)

  Changed paths:
    M configure.ac
    M src/lxc/Makefile.am
    M src/lxc/conf.c

  Log Message:
  -----------
  Merge pull request #1896 from ffontaine/master

Fix compilation on toolchain without prlimit


Compare: https://github.com/lxc/lxc/compare/2ba9ef6c8915...190f9aeedcc7


More information about the lxc-devel mailing list