Skip to content

Commit a5c7585

Browse files
author
Hubert Tong
committed
is_debugger_present: ptrace is not POSIX; LSB uses "tracing process"
The functionality ascribed to POSIX by the wording is not present in POSIX. Update to reference the LSB and to use the corresponding terminology.
1 parent 4d24c66 commit a5c7585

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/diagnostics.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2497,9 +2497,9 @@
24972497
implementation returns \tcode{true} with the use of an immediate query, as
24982498
needed, to determine if the program is being traced by a debugger. On Windows or
24992499
equivalent systems, this can be achieved by calling the
2500-
\tcode{::IsDebuggerPresent()} Win32 function. On POSIX, this can be achieved by
2501-
checking for a tracer parent process, with best effort determination that such a
2502-
tracer parent process is a debugger.
2500+
\tcode{::IsDebuggerPresent()} Win32 function. For systems compatible with
2501+
ISO/IEC 23360:2021, this can be achieved by checking for a tracing process, with
2502+
best effort determination that such a tracing process is a debugger.
25032503
\end{note}
25042504

25052505
\end{itemdescr}

0 commit comments

Comments
 (0)