]> granicus.if.org Git - apache/commit
mod_slotmem_shm: follow up to r1831869 (check persistent files).
authorYann Ylavic <ylavic@apache.org>
Fri, 18 May 2018 17:05:18 +0000 (17:05 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 18 May 2018 17:05:18 +0000 (17:05 +0000)
commite86620ff6bb77998fde00f7033d283f23184b6fc
tree18b06d81dcdcb7ab8182f4d479753861321d2bbb
parent6473ad7a0b5e041f32a2775368071dc517dee1a8
mod_slotmem_shm: follow up to r1831869 (check persistent files).

Since persistent files are also reused on stop/start, we must ensure that
they match the same descriptor when reused on the next startup, so add it
to integrity metadata.

Also, the descriptor being the first field in the SHM, we don't need to
copy on the stack it in several places, and can handle it as a pointer.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1831871 13f79535-47bb-0310-9956-ffa450edef68
modules/slotmem/mod_slotmem_shm.c