Files
coreutils/tests
Collin FunkandPádraig Brady 94b24850da timeout: handle child processes that use PTRACE_TRACEME
* m4/jm-macros.m4 (coreutils_MACROS): Check for ptrace.
* src/timeout.c [HAVE_PTRACE && (__linux__ || __ANDROID__)]: Include
sys/ptrace.h.
(resume_command): New function.
(main): Call it if the monitored command has been stopped.
* tests/timeout/ptrace-traceme.sh: New file.
* tests/local.mk (all_tests): Add the new test case.
* NEWS: Mention the improvement.

Discovered by Anthropic's OSS Scanner, as bug ANT-2026-AKDIHN0Y.

Co-authored-by: Pádraig Brady <P@draigBrady.com>
2026-11-13 20:12:25 -08:00
..
2026-01-01 10:56:16 -08:00
2026-11-13 18:27:05 -08:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-11-10 20:30:37 +00:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00
2026-01-01 10:56:16 -08:00