Re: [PATCH v7 34/39] kselftest/arm64: Add a GCS test program built with the system libc

From: Mark Brown
Date: Thu Jan 18 2024 - 14:58:55 EST


On Thu, Dec 14, 2023 at 11:50:11PM -0300, Thiago Jung Bauermann wrote:

> If I swap process_vm_readv() and process_vm_writev(), then the read
> succeeds but the write fails:

The writes are intended to fail, for security reasons we explicitly
block this API for GCS pages. Given that process_vm_writev() is only
available with similar permissions to ptrace() which does not have these
restrictions this on first consideration feels like something that we
should allow but it feels out of scope for this already very large
series to do so so I'll fix the test.

Attachment: signature.asc
Description: PGP signature