libffcall
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66089] On macos mprotect can't be PROT_WRITE and PROT_EXEC at the


From: Lorenzo Daneo
Subject: [bug #66089] On macos mprotect can't be PROT_WRITE and PROT_EXEC at the same time
Date: Wed, 14 Aug 2024 11:32:16 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?66089>

                 Summary: On macos mprotect can't be PROT_WRITE and PROT_EXEC
at the same time
                   Group: libffcall - foreign function call libraries
               Submitter: lorespaul
               Submitted: Wed 14 Aug 2024 03:32:14 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: crash
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 14 Aug 2024 03:32:14 PM UTC By: Lorenzo Daneo <lorespaul>
As stated in the title, PROT_WRITE|PROT_EXEC cannot be passed to mprotect (at
least on macos). This causes the process to SIGABRT.
I have a fix ready. If you want I can push it to a branch in the github
repository (https://github.com/roswell/libffcall) and make a pull request.
Thanks,
Lorenzo







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66089>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]