diff options
author | L. E. Segovia <amy@centricular.com> | 2024-04-12 13:36:42 -0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2024-04-15 18:38:56 +0000 |
commit | ebc2796823d80221aa9f2f222ece2b51a9bf2e42 (patch) | |
tree | c415091122f8fe179f1a54bd3f4bd518d07ca680 | |
parent | bc7669480c0407f14d307efd014f3f58404b979c (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.c | 9 |
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; } |