Linux sandbox: Add WriteRemoteData() and ReadFilePathFromRemoteProcess()
These wrap the process_vm_writev() and process_vm_readv() syscalls which write to another process's memory (as long the caller has ptrace privileges for the target process). This is necessary for the USER_NOTIF broker to read syscall params and write to syscall outparams. Bug: 1117351 Change-Id: I5b85884eb7f7545598affe91f3e4ec4cb6a569b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2407010Reviewed-by:Tom Sepez <tsepez@chromium.org> Reviewed-by:
Robert Sesek <rsesek@chromium.org> Commit-Queue: Matthew Denton <mpdenton@chromium.org> Cr-Commit-Position: refs/heads/master@{#810865}
Showing
This diff is collapsed.
Please register or sign in to comment