Fix: sessiond: kernel: close on badfd on initialization error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 29 Mar 2021 16:17:12 +0000 (12:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 31 Mar 2021 23:18:56 +0000 (19:18 -0400)
The various kernel tracer file descriptors are closed during an
initialization error, but are not set to `-1` which causes them to
be closed again when the session daemon performs its clean-up.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I11d3ce7accea51394c34b9ca7ea0445e4ee422fc


No differences found
This page took 0.025529 seconds and 4 git commands to generate.