SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
--- libffi/src/closures.c.orig Mon Jan 12 17:19:59 2015
+++ libffi/src/closures.c Tue Aug 23 15:48:20 2016
@@ -525,6 +525,7 @@ dlmmap (void *start, size_t length, int prot,
printf ("mapping in %zi\n", length);
#endif
+#if 0
if (execfd == -1 && is_emutramp_enabled ())
{
ptr = mmap (start, length, prot & ~PROT_EXEC, flags, fd, offset);
@@ -543,6 +544,7 @@ dlmmap (void *start, size_t length, int prot,
with ((prot & ~PROT_WRITE) | PROT_EXEC) and mremap with
MREMAP_DUP and prot at this point. */
}
+#endif
if (execsize == 0 || execfd == -1)
{