svm: Add FreeBSD specific signal handling path 74/40274/2
authorTom Jones <thj@freebsd.org>
Fri, 26 Jan 2024 17:44:33 +0000 (17:44 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 13 Feb 2024 16:33:06 +0000 (16:33 +0000)
commit775002358fae5767170733f1d781c49a991a482a
tree60489b1e67f8bd42e4e5aa068303584e374ed331
parent7ec62fb0cd8c4d794d6f22ccc2fe8dae672a63a6
svm: Add FreeBSD specific signal handling path

FreeBSD's siginfo_t doesn't have the ptr value used on linux to encode a
token. Fow now recover the code from siginfo_t and leave the opaque
value as 0.

Type: improvement
Change-Id: Ic6ef96f018b326b99d68534a4488cfc49fdf16e1
Signed-off-by: Tom Jones <thj@freebsd.org>
src/svm/svmdbtool.c