Re: [PATCH 01/10] x86/cet: User-mode shadow stack support
From: Dave Hansen
Date: Thu Jun 07 2018 - 13:56:35 EST
On 06/07/2018 10:46 AM, Yu-cheng Yu wrote:
>> Also, did you add all the needed checks to make get_user_pages(),
>> access_process_vm(), etc fail when called on the shadow stack? (Or at
>> least fail if they're requesting write access and the FORCE bit isn't
>> set.)
> Currently if FORCE bit is set, these functions can write to shadow
> stack, otherwise write access will fail. I will test it.
Is this a part of your selftests/ for this feature?