[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:13:17 +0000 (23:13 +0200)
commit4fad9339f449276e2d11f95726c8b39a0b8faba7
treebaddf1b9c629018d85c502717d33ac64380cffbd
parentb0659229d3a76bb41effd35061f34a837d9da50a
[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