You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't OPcache just use IPC_PRIVATE even for the first segment:
It is. In the windows polyfill, you can attach to the new segment id. https://man7.org/linux/man-pages/man2/shmget.2.html It seems like you can in linux when I manually tested, though the manual didn't make that clear
It seems like you can in linux when I manually tested, though the manual didn't make that clear
Well, it is not guaranteed the IP_PRIVATE == 0, and it might not work for different processes. However, since this ticket is actually about the same process, just disregard my comment.
Note, though, that there is no issue regarding OPcache SHM on Windows, since only memory_model win32 is supported there (but not shm).
Uh oh!
There was an error while loading. Please reload this page.
Description
php-src/ext/opcache/shared_alloc_shm.c
Line 112 in 5a5037f
Related to #9944
Prevent accidentally or intentionally reading or writing to shared memory regions which would be used by opcache, or other extensions such as APCu
A possible approach:
Zend/
directory to track ids used during module initializationThe text was updated successfully, but these errors were encountered: