summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorL. E. Segovia <amy@centricular.com>2024-04-12 13:36:42 -0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2024-04-15 18:38:56 +0000
commitebc2796823d80221aa9f2f222ece2b51a9bf2e42 (patch)
treec415091122f8fe179f1a54bd3f4bd518d07ca680
parentbc7669480c0407f14d307efd014f3f58404b979c (diff)
orccodemem: Update the error message when mappings fail
Part-of: <https://gitlab.freedesktop.org/gstreamer/orc/-/merge_requests/176>
-rw-r--r--orc/orccodemem.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/orc/orccodemem.c b/orc/orccodemem.c
index c59c77e..566a699 100644
--- a/orc/orccodemem.c
+++ b/orc/orccodemem.c
@@ -348,9 +348,12 @@ orc_code_region_allocate_codemem (OrcCodeRegion *region)
"is probably because the Hardened Runtime is enabled without "
"the com.apple.security.cs.allow-jit entitlement.");
#else
- ORC_ERROR("Failed to create write and exec mmap regions. This "
- "is probably because SELinux execmem check is enabled (good) "
- "and $TMPDIR and $HOME are mounted noexec (bad).");
+ ORC_ERROR(
+ "Failed to create write+exec mappings. This "
+ "is probably because SELinux execmem check is enabled (good), "
+ "$XDG_RUNTIME_DIR, $HOME, $TMPDIR, $HOME and /tmp are mounted noexec (good), "
+ "and anonymous mappings cannot be created (really bad)."
+ );
#endif
return FALSE;
}