summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Herkenhoff <sherkenhoff@de.adit-jv.com>2019-02-04 22:16:00 +0900
committerChristoph Lipka <clipka@users.noreply.github.com>2019-02-04 14:16:00 +0100
commit18321f3551098d6313c0f3f3620bc74b53b84472 (patch)
treefb9200b6782a1b9f3d368d6f530f9d521bbefe1d /tests
parent892325dbc0983a18d5d16a10faefc0e982bf9660 (diff)
downloadDLT-daemon-18321f3551098d6313c0f3f3620bc74b53b84472.tar.gz
libdlt: Do not allow DLT usage in forked child (#95)
DLT shall not be used in a forked child until a variant of exec() is called, because DLT is using non async-signal-safe functions. The forking process can continue to use libdlt's logging facilities, but any attempt to use libdlt from the forked child will be denied. The fork-handler test is updated to reflect this by trying to log from the forked child which will fail. The fork then calls exec and runs another application that can continue to use DLT. Signed-off-by: Simon Herkenhoff <sherkenhoff@jp.adit-jv.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions