Skip to content

Commit f484ff7

Browse files
committed
Add fallback for missing flag
I'll make sure to propagate this to the upstream version as well, so we don't need to keep maintaining this separately.
1 parent d518067 commit f484ff7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ddprof-lib/src/main/cpp/otel_process_ctx.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
#define PR_SET_VMA_ANON_NAME 0
3535
#endif
3636

37+
#ifndef MFD_NOEXEC_SEAL
38+
#define MFD_NOEXEC_SEAL 0x0008U
39+
#endif
40+
3741
static const otel_process_ctx_data empty_data = {
3842
.deployment_environment_name = NULL,
3943
.service_instance_id = NULL,

0 commit comments

Comments
 (0)