|
From: | Michael Tokarev |
Subject: | Re: [PATCH v2] tpm: fix crash when FD >= 1024 |
Date: | Tue, 12 Sep 2023 23:19:03 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
12.09.2023 03:08, Stefan Berger пишет:
On 9/11/23 09:25, marcandre.lureau@redhat.com wrote:From: Marc-Andr Lureau <marcandre.lureau@redhat.com> Replace select() with poll() to fix a crash when QEMU has a large number of FDs. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2020133Fixes: ca64b08638 ("tpm: Move backend code under the 'backends/' directory")
Heh. I noticed this only now. No, this is not the commit which introduced the breakage. It is either commit 56a3c24ffc11955ddc7bb21362ca8069a3fc8c55 Author: Stefan Berger <stefanb@linux.vnet.ibm.com> Date: Tue May 26 16:51:06 2015 -0400 tpm: Probe for connected TPM 1.2 or TPM 2 which introduced select() in the first place (provided similar select() hasn't been used in there before. Or some other commit somewhere else which allowed to have large number of filedescriptors - provided it wasn't possible before. But definitely not a commit which just moved file into another subdir :) /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |