[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YACZZ+wqRJutiEiy@google.com>
Date: Thu, 14 Jan 2021 20:20:07 +0100
From: Piotr Figiel <figiel@...gle.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Alexey Gladkov <gladkov.alexey@...il.com>,
Christian Brauner <christian.brauner@...ntu.com>,
Michel Lespinasse <walken@...gle.com>,
Bernd Edlinger <bernd.edlinger@...mail.de>,
Andrei Vagin <avagin@...il.com>,
mathieu.desnoyers@...icios.com, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, posk@...gle.com,
kyurtsever@...gle.com, ckennelly@...gle.com, pjt@...gle.com
Subject: Re: [PATCH] fs/proc: Expose RSEQ configuration
On Thu, Jan 14, 2021 at 12:32:30AM +0300, Alexey Dobriyan wrote:
> On Wed, Jan 13, 2021 at 06:41:27PM +0100, Piotr Figiel wrote:
> > For userspace checkpoint and restore (C/R) some way of getting process
> > state containing RSEQ configuration is needed.
> > + seq_printf(m, "0x%llx 0x%x\n", (uint64_t)task->rseq, task->rseq_sig);
> %llx is too much on 32-bit. "%tx %x" is better (or even %08x)
Hi, many thanks for the suggestion. I applied this on v2,
https://lore.kernel.org/linux-fsdevel/20210114185445.996-1-figiel@google.com
I had to cast it via uintptr_t to cast-away the user address space
without warnings. Could you please take a look?
Best regards, Piotr.
Powered by blists - more mailing lists