Date: Sat, 13 Sep 2025 21:55:52 +0300 From: Gleb Popov <arrowd@freebsd.org> To: kib@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: fd9e09cb2ab0 - main - kern: replace several EBADF with EINVAL Message-ID: <CALH631=Z15%2Bhd=Q1Ev=PH2LiEi%2B58Q_FbJPerj5z8ZnuPTCtAw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
This change affects following code inside the Qt library: https://github.com/qt/qtbase/blob/d6cc7562689d8a07bc933178ea367706ca38e4ac/src/3rdparty/forkfd/forkfd.c#L902 The code in question expects to receive EBADF when being fed a wrong type of the descriptor. Returning EINVAL makes sense to me, so maybe we should patch Qt rather than revert this change?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631=Z15%2Bhd=Q1Ev=PH2LiEi%2B58Q_FbJPerj5z8ZnuPTCtAw>