[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <F859FAC0-294F-4FA7-BAA1-6EBC373F035A@juniper.net>
Date: Wed, 19 Feb 2025 20:38:51 +0000
From: Brian Mak <makb@...iper.net>
To: Kees Cook <kees@...nel.org>
CC: Jan Kara <jack@...e.cz>, Michael Stapelberg <michael@...pelberg.ch>,
Christian Brauner <brauner@...nel.org>,
"Eric W. Biederman"
<ebiederm@...ssion.com>,
"linux-fsdevel@...r.kernel.org"
<linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Oleg Nesterov <oleg@...hat.com>,
Linus Torvalds
<torvalds@...ux-foundation.org>,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH v3] binfmt_elf: Dump smaller VMAs first in ELF cores
On Feb 19, 2025, at 11:52 AM, Kees Cook <kees@...nel.org> wrote:
> Yeah, I think we need to make this a tunable. Updating the kernel breaks
> elftools, which isn't some weird custom corner case. :P
>
> So, while it took a few months, here is a report of breakage that I said
> we'd need to watch for[1]. :)
>
> Is anyone able to test this patch? And Brian will setting a sysctl be
> okay for your use-case?
Hi Kees,
Yes, a sysctl tunable would be good here. I can test this patch in the
next day or two.
I will also scratch up a patch to bring us back into compliance with the
ELF specifications, and see if that fixes the userspace breakage with
elfutils, while not breaking gdb or rr.
Thanks,
Brian
Powered by blists - more mailing lists