[PATCH] Don't leak file descriptors when spawning new workers
authorKevin Ottens <kevin.ottens@enioka.com>
Fri, 5 Jan 2024 10:51:49 +0000 (11:51 +0100)
committerPino Toscano <pino@debian.org>
Thu, 28 Nov 2024 07:33:53 +0000 (08:33 +0100)
commit1435196886320b10d3192067930e1fe2f792bb80
treef9e0732a017189c6f486904cbd3899c76ed4fc49
parent9f935e84ff1378d8d7e8f89c9f9814c805e24dc5
[PATCH] Don't leak file descriptors when spawning new workers

By default we inherit file descriptors from the parent in
the worker process. This is a leak of resources since the
worker won't be able to do anything with them. Also, in
the case of CIFS this causes locks which might lead to bad
surprises in the parent process.

Gbp-Pq: Name fix_cifs_file_locks.patch
src/kioslave/kioslave.cpp