sim: callback: add a getpid interface
authorMike Frysinger <vapier@gentoo.org>
Sun, 20 Jun 2021 16:38:27 +0000 (12:38 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 22 Jun 2021 23:36:28 +0000 (19:36 -0400)
commitc45cffdbe1a1b816fd9a88f88bb83bd7078a1e4e
treece8e3f7618908cb5d1c0472b0923a91442640b92
parente173c80fbb01dfed80a1b628157de3c0040d774b
sim: callback: add a getpid interface

Rather than hit the OS interface directly, use the existing callback
layer so the instantiator can decide behavior.
include/sim/ChangeLog
include/sim/callback.h
sim/common/ChangeLog
sim/common/callback.c
sim/common/syscall.c