[lkml]   [2019]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v16 16/16] selftests, arm64: add a selftest for passing tagged pointers to kernel
On 6/7/19 9:56 PM, Kees Cook wrote:
> On Mon, Jun 03, 2019 at 06:55:18PM +0200, Andrey Konovalov wrote:
>> This patch is a part of a series that extends arm64 kernel ABI to allow to
>> pass tagged user pointers (with the top byte set to something else other
>> than 0x00) as syscall arguments.
>> This patch adds a simple test, that calls the uname syscall with a
>> tagged user pointer as an argument. Without the kernel accepting tagged
>> user pointers the test fails with EFAULT.
>> Signed-off-by: Andrey Konovalov <>
> I'm adding Shuah to CC in case she has some suggestions about the new
> selftest.

Thanks Kees.

> Reviewed-by: Kees Cook <>
> -Kees

Looks good to me.

Acked-by: Shuah Khan <>

-- Shuah

 \ /
  Last update: 2019-06-11 00:09    [W:0.236 / U:5.512 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site