[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a9d538c4-b4aa-9a5b-5f8e-1a7baf8424b8@intel.com>
Date: Mon, 7 Jun 2021 10:52:18 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Jiashuo Liang <liangjs@....edu.cn>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: arch_set_user_pkey_access only works on the current task_struct
On 6/5/21 6:10 AM, Jiashuo Liang wrote:
> I am learning the kernel implementation of the x86 PKU feature. I find the
> arch_set_user_pkey_access function in arch/x86/kernel/fpu/xstate.c does not
> use its first parameter. So it is perhaps a bug?
I wouldn't really call it a bug. But, yes, it is something we should
clean up.
Powered by blists - more mailing lists