]> git.ipfire.org Git - thirdparty/lxc.git/commit
syscall_wrappers: rename internal memfd_create to memfd_create_lxc 3168/head
authorPatrick Havelange <patrick.havelange@essensium.com>
Tue, 22 Oct 2019 10:29:54 +0000 (12:29 +0200)
committerPatrick Havelange <patrick.havelange@essensium.com>
Tue, 22 Oct 2019 11:58:30 +0000 (13:58 +0200)
commit40b06c78773dfd5e12e568a576b1abb133f61b71
tree3b59ab796a286b744b090fcfee9611c442ab81fe
parent6637fb9f482556ee8e7ad38179a42c1cf240dcd9
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@essensium.com>
src/lxc/syscall_wrappers.h