[PATCH v7 34/39] kselftest/arm64: Add a GCS test program built with the system libc
Mark Brown
broonie at kernel.org
Thu Jan 18 11:58:32 PST 2024
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240118/d5e4fc00/attachment.sig>
More information about the linux-riscv
mailing list