[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wi+3qEU9S9sgRLesCMKJ1w_e6zwEt0f30=8NSKhN+2LjA@mail.gmail.com>
Date: Wed, 27 Nov 2024 07:54:49 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Christian Brauner <brauner@...nel.org>
Cc: Jan Kara <jack@...e.cz>, Amir Goldstein <amir73il@...il.com>, Josef Bacik <josef@...icpanda.com>,
Thorsten Leemhuis <regressions@...mhuis.info>, regressions@...ts.linux.dev,
LKML <linux-kernel@...r.kernel.org>,
Linux-fsdevel <linux-fsdevel@...r.kernel.org>, Alexander Viro <viro@...iv.linux.org.uk>,
Rui Ueyama <rui314@...il.com>
Subject: Re: [REGRESSION] mold linker depends on ETXTBSY, but open(2) no
longer returns it
On Wed, 27 Nov 2024 at 04:11, Christian Brauner <brauner@...nel.org> wrote:
>
> Linus, it seems that the mold linker relies on the deny_write_access()
> mechanism for executables. The mold linker tries to open a file for
> writing and if ETXTBSY is returned mold falls back to creating a new
> file.
Uhhuh. Ok, unfortunate, but this is clearly a real use case, so of
course we'll revert the kernel change.
Linus
Powered by blists - more mailing lists