google / gvisor

Application Kernel for Containers
https://gvisor.dev
Apache License 2.0
15.86k stars 1.3k forks source link

platform/systrap: return memory access type based on a page fault error code #11179

Closed copybara-service[bot] closed 3 days ago

copybara-service[bot] commented 1 week ago

platform/systrap: return memory access type based on a page fault error code

Now we don't need to trigger a second fault to figure out whether it was write or read access.

Fixes #11008

Co-developed-by: Jamie Liu jamieliu@google.com