sim: syscall: handle killing the sim itself
authorMike Frysinger <vapier@gentoo.org>
Mon, 21 Jun 2021 03:50:35 +0000 (23:50 -0400)
committerMike Frysinger <vapier@gentoo.org>
Thu, 24 Jun 2021 00:11:45 +0000 (20:11 -0400)
commit2f631626f1d8a354d3c5f9d2fce15b47d05d1455
tree7011d11a990c8da9bd7c3525a32cf70b81a1dc2c
parente91488f739f0dbb93bfd9d96164c25d9674846c4
sim: syscall: handle killing the sim itself

If code tries to send a signal to itself, the callback layer ignores
it and forces the caller to handle it.  This allows the sim to turn
that into an engine halt rather than actually killing the sim.
sim/common/ChangeLog
sim/common/sim-syscall.c