[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)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 23 May 2024 21:34:42 +0000 (23:34 +0200)
commit104571030b69febfe656afe21cc0b64a6be44733
tree4d7f3cdb4af85219b43c5fe2aecf4510bbdf2fdb
parent9279345555e32bac3a85e62b859bf442f5a10dea
[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