-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete reads and writes in ProcessVMTransfer.
process_vm_readv/writev should not split accross iovec elements, but Linux has a limit of 0x7ffff000 on any read/write and the size of any single iovec is capped at that number. Therefore try to read or write in a loop instead of aborting when process_vm_readv/process_vm_writev returns a partial success. PiperOrigin-RevId: 639921713 Change-Id: I853095874222a88bea10a9d9b074a7240a919b94
- Loading branch information
1 parent
af41311
commit ad5c5cf
Showing
1 changed file
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters