]> granicus.if.org Git - php/commit
Fix #79566: Private SHM is not private on Windows
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 5 May 2020 07:31:17 +0000 (09:31 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 5 May 2020 09:38:29 +0000 (11:38 +0200)
commitf33cf52faf733f5a6441a533f83e9b1cf2018245
tree1e95600ddf3429a25ca8a6b7feea59f9f255c557
parentc40a494406aa3606be964b24d224ec4eb0c936e8
Fix #79566: Private SHM is not private on Windows

We map the POSIX semantics of `IPC_PRIVATE` by creating unnamed file
mapping objects on Windows.  While that is not particularly useful for
ext/shmop, which is the only bundled extension which uses `shmget()`,
it may be useful for external extensions.
NEWS
TSRM/tsrm_win32.c
ext/shmop/tests/shmop_open_private.phpt [new file with mode: 0644]