-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChanges
More file actions
34 lines (26 loc) · 1.45 KB
/
Copy pathChanges
File metadata and controls
34 lines (26 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Revision history for Test2-Harness2-ChildSubReaper
{{$NEXT}}
0.000003 2026-04-17 13:29:15-07:00 America/Los_Angeles
- Fix t/10-have-support.t and t/15-mechanism.t failing their
boolean-agreement invariant on build hosts where the prctl
(or procctl) macro is absent at compile time. Test2::V0's
is() uses string eq, and !!$have yields "" (not "0") when
false; normalize both sides to 0/1 before comparing.
Reported via CPAN Testers on Linux 3.2 / perl 5.20.0.
0.000002 2026-04-17 11:18:10-07:00 America/Los_Angeles
- Add FreeBSD and DragonFlyBSD backends via
procctl(PROC_REAP_ACQUIRE / PROC_REAP_RELEASE).
- Add subreaper_mechanism() diagnostic function returning
"prctl", "procctl", or undef.
- Fix brittle t/10-have-support.t that failed on Linux build
environments where <sys/prctl.h> lacks PR_SET_CHILD_SUBREAPER.
- Generalize t/20-set-success.t and t/40-subreaper-behavior.t to
run on any platform advertising support (not just Linux).
- Refactor: move platform resolution into subreaper_impl.h; the
XS file now has zero #ifdef noise.
0.000001 2026-04-16 15:01:58-07:00 America/Los_Angeles
- First release.
- Tiny XS wrapper around Linux's PR_SET_CHILD_SUBREAPER prctl(2) op.
- Exports two functions: set_child_subreaper, have_subreaper_support.
- Installs cleanly on non-Linux platforms; set_child_subreaper returns
0 with $! = ENOSYS where support is unavailable.