diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-03-18 11:00:14 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-03-18 11:00:16 +0100 |
commit | 7e33dddd41cb6786d306907e55f9a8307bb3cf2a (patch) | |
tree | caed156038472fb7bc58711a5c9f76ca68783961 | |
parent | e3bfe046a668d12bd1b354e2083d803727c76eed (diff) |
proc_pid_io.5: Move note to CAVEATS
Cc: Ahelenia ZiemiaĆska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man5/proc_pid_io.5 | 11 |
1 files 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) |