summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@kernel.org>2024-03-21 13:01:58 -0300
committerAndrii Nakryiko <andrii@kernel.org>2024-03-21 11:27:17 -0700
commitddb2ffdc474a3000887dc776b971d04bde29decc (patch)
treeb19420fdd37dc8a46668e115ed24ee50310c000d /kernel
parenta51cd6bf8e10793103c5870ff9e4db295a843604 (diff)
downloadlinux-stable-ddb2ffdc474a3000887dc776b971d04bde29decc.tar.gz
linux-stable-ddb2ffdc474a3000887dc776b971d04bde29decc.tar.bz2
linux-stable-ddb2ffdc474a3000887dc776b971d04bde29decc.zip
libbpf: Define MFD_CLOEXEC if not available
Since its going directly to the syscall to avoid not having memfd_create() available in some systems, do the same for its MFD_CLOEXEC flags, defining it if not available. This fixes the build in those systems, noticed while building perf on a set of build containers. Fixes: 9fa5e1a180aa639f ("libbpf: Call memfd_create() syscall directly") Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/ZfxZ9nCyKvwmpKkE@x1
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions