From 9d119d52aab71371f6be6c11bf6b8159835d64b4 Mon Sep 17 00:00:00 2001 From: rupansh-arch Date: Tue, 12 Oct 2021 23:02:17 +0530 Subject: [PATCH] process_vm_*: fix documentation for android --- src/sys/uio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sys/uio.rs b/src/sys/uio.rs index ab7812b9c4..7e49d25365 100644 --- a/src/sys/uio.rs +++ b/src/sys/uio.rs @@ -115,7 +115,7 @@ pub struct RemoteIoVec { /// `CAP_SYS_PTRACE`), or you must be running as the same user as the /// target process and the OS must have unprivileged debugging enabled. /// -/// This function is only available on Linux and Android +/// This function is only available on Linux and Android(SDK23+). /// /// [`process_vm_writev`(2)]: https://man7.org/linux/man-pages/man2/process_vm_writev.2.html /// [ptrace]: ../ptrace/index.html @@ -150,7 +150,7 @@ pub fn process_vm_writev( /// `CAP_SYS_PTRACE`), or you must be running as the same user as the /// target process and the OS must have unprivileged debugging enabled. /// -/// This function is only available on Linux. +/// This function is only available on Linux and Android(SDK23+). /// /// [`process_vm_readv`(2)]: https://man7.org/linux/man-pages/man2/process_vm_readv.2.html /// [`ptrace`]: ../ptrace/index.html