[lxc-devel] [lxc/lxc] 40b06c: syscall_wrappers: rename internal memfd_create to ...

Christian Brauner noreply at github.com
Tue Oct 22 12:09:49 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 40b06c78773dfd5e12e568a576b1abb133f61b71
      https://github.com/lxc/lxc/commit/40b06c78773dfd5e12e568a576b1abb133f61b71
  Author: Patrick Havelange <patrick.havelange at essensium.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M src/lxc/syscall_wrappers.h

  Log Message:
  -----------
  syscall_wrappers: rename internal memfd_create to memfd_create_lxc

In case the internal memfd_create has to be used, make sure we don't
clash with the already existing memfd_create function from glibc.

This can happen if this glibc function is a stub. In this case, at
./configure time, the test for this function will return false, however
the declaration of that function is still available. This leads to
compilation errors.

Signed-off-by: Patrick Havelange <patrick.havelange at essensium.com>


  Commit: 344b8ee293f4d3730a70a6ccaa03d7e4a516ae95
      https://github.com/lxc/lxc/commit/344b8ee293f4d3730a70a6ccaa03d7e4a516ae95
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-10-22 (Tue, 22 Oct 2019)

  Changed paths:
    M src/lxc/syscall_wrappers.h

  Log Message:
  -----------
  Merge pull request #3168 from havmind/memfd_create_powerpc

syscall_wrappers: rename internal memfd_create to memfd_create_lxc


Compare: https://github.com/lxc/lxc/compare/6637fb9f4825...344b8ee293f4


More information about the lxc-devel mailing list