Skip to content

release: 0.15.29 (eBPF execve parent-PID capture)#1124

Merged
maiconburn merged 1 commit into
mainfrom
release/0.15.29
Jun 27, 2026
Merged

release: 0.15.29 (eBPF execve parent-PID capture)#1124
maiconburn merged 1 commit into
mainfrom
release/0.15.29

Conversation

@maiconburn

Copy link
Copy Markdown
Collaborator

Carries #1123 (merged): the eBPF execve handler now reads task_struct->real_parent->tgid in-kernel via a BTF-resolved TASK_OFFSETS map, so the fileless-systemd parent-lineage gate (0.15.28) actually engages in prod.

Why

The 0.15.28 post-deploy re-audit found fileless:systemd still firing on Azure. Root cause: the eBPF execve handler hardcoded event.ppid = 0; every prod execve ppid came from a userspace /proc/<pid>/status fallback that misses short-lived execs — notably systemd's sealed-executor fexecve of /proc/self/fd/N (audit: ppid=0 on 4995/5000 execve). So the 0.15.28 gate, which needs the parent, almost never engaged.

Validated live (test001, x86_64 k6.x)

verifier accepts the program (27 hooks) · TASK_OFFSETS resolves from BTF (real_parent=2504 tgid=2492) · comm=systemd cmd=/proc/self/fd/9ppid=1 → gate resolves /proc/1/exe=systemd → suppresses. aarch64 offsets BTF-resolve identically; verifier-load checked on the Oracle deploy.

This PR

Version bump 0.15.280.15.29 (Cargo.toml + workspace lock + agents-install token) + CHANGELOG [0.15.29]. No code change beyond #1123 already on main.

After approval: tag v0.15.29 → release.yml both arches → deploy Azure + Oracle → re-audit to confirm fileless:systemd finally drops.

🤖 Generated with Claude Code

Carries #1123: the eBPF execve handler now reads task_struct->real_parent->tgid
in-kernel (BTF-resolved TASK_OFFSETS map) so the fileless-systemd
parent-lineage gate (0.15.28) actually engages in prod. The 0.15.28
re-audit found execve events carried ppid=0 in-kernel (4995/5000); every
ppid came from a userspace /proc fallback that misses short-lived execs
(systemd sealed-executor fexecve). Validated live on test001:
comm=systemd /proc/self/fd/9 -> ppid=1 -> gate suppresses.

Version bump (Cargo.toml + workspace lock + agents-install token) +
CHANGELOG [0.15.29]. No code change beyond #1123 already on main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maiconburn maiconburn requested a review from esteves-uk as a code owner June 27, 2026 07:18
@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@maiconburn maiconburn merged commit a4e97c0 into main Jun 27, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants