From 7e33dddd41cb6786d306907e55f9a8307bb3cf2a Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 18 Mar 2024 11:00:14 +0100 Subject: proc_pid_io.5: Move note to CAVEATS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Ahelenia ZiemiaƄska Signed-off-by: Alejandro Colomar --- man5/proc_pid_io.5 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/man5/proc_pid_io.5 b/man5/proc_pid_io.5 index 531de8c0d..a208e748f 100644 --- a/man5/proc_pid_io.5 +++ b/man5/proc_pid_io.5 @@ -86,16 +86,15 @@ applies to I/O already accounted-for in .IR write_bytes . .RE .IP -.IR Note : -these counters are not atomic: -on systems where 64-bit integer operations may tear, -a counter could be updated simultaneously with a read, -yielding an incorrect intermediate value. -.IP Permission to access this file is governed by .BR ptrace (2) access mode .BR PTRACE_MODE_READ_FSCREDS . +.SH CAVEATS +These counters are not atomic: +on systems where 64-bit integer operations may tear, +a counter could be updated simultaneously with a read, +yielding an incorrect intermediate value. .SH SEE ALSO .BR getrusage (2), .BR proc (5) -- cgit v1.2.3