[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>
Sun, 18 Aug 2024 14:18:55 +0000 (16:18 +0200)
commit075cc4e043a215b40cedf541b9360b9e72d17483
treed49fed5d6d47dbed9ee1088bf3d320a18193e688
parent2546132e0b25425f1806ae513870ea84412ba65a
[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