generated from erix/meta
[BUG] C ABI reaper uses ambient task discovery #8
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-posixabi#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The C ABI probe reaper discovers its task list through global procfs state instead of receiving an observation handle from its caller.
Reproduction
At
b2b494c4,scripts/c_abi_child_custody.py,Reaper.executioncallsos.listdir("/proc/self/task"). Both signal admission and teardown depend on this lookup. The driver supplies no task-observation input.Expected and actual behavior
The caller should transfer actual procfs and task-directory handles. The driver should derive a narrow observation bound to its own task generation and namespace, retire the broad source, and pass that observation to each deadline and command reaper.
The current implementation resolves the observation source globally. Missing, foreign or retired input should refuse before native effects; an uncertain cleanup must retain the original owner.
Environment and identity
LibPosixABI
b2b494c40f561c931d84e3dfe266ca67f01d99b9onfeature/posix-compat. This concerns the host probe driver’s reviewed Linux x86_64/glibc custody path.Evidence and prior checks
Source review identifies the lookup. The repair must preserve complete native signal and callback admission, cancellation, pidfd ownership and uncertain-close handling, and keep observation descriptors out of probe children.
Tracking
Phase completion.
The source repair is published in
8e5a5090. The driver transfers actual procfs/task descriptor pairs, derives a narrow observation and retires the broad source before any reaper borrows it. Original signal, child and uncertain-close custody remains required. The technical manual update follows.The driver repair is published in 8e5a5090, with the matching manual in Docs b4632304. Caller-owned observation handles now replace global task discovery; broad intake retires before reaper use, and probe children inherit no observation descriptors. Closing this defect; the wider authority audit remains open.
erikinkinen referenced this issue2026-10-30 18:12:29 +01:00