[php-src] PR #12942: Fix SELinux mprotect execheap error due to mem adjacent to heap
| From: | iluuu1994 | Date: | Tue, 12 Dec 2023 15:27:58 +0000 |
| Subject: | [php-src] PR #12942: Fix SELinux mprotect execheap error due to mem adjacent to heap | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24503@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12942
Author: iluuu1994
It seems SELinux has a bug where memory directly adjacent to the heap is interpreted as heap memory.
Dodge this issue by leaving some space between the heap and memory suggested by
find_prefered_mmap_base.
See GH-12932
See https://bugzilla.kernel.org/show_bug.cgi?id=218258