mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-01-09 22:36:17 +00:00
* ipc_shm: Don't truncate SHM files of an active server I've put in an extra check so that clients don't truncate the SHM file if the server still exists. Sadly on FreeBSD we can't get the server PID for the client (unless someone has a patch handy!) so we still do the truncate when disconnected. As a backstop (and also to cover the BSD issue) I've added a SIGBUS trap to the server shutdown so that it doesn't cause a server crash. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> Reviewed by: Jan Friesse <jfriesse@redhat.com> |
||
|---|---|---|
| .. | ||
| qb | ||
| .gitignore | ||
| Makefile.am | ||
| os_base.h | ||
| tlist.h | ||