-
Notifications
You must be signed in to change notification settings - Fork 1.3k
test(execd): close OSEP-0018 R-q/R-s/R-l(b)/R-m/R-u e2e gaps + ebpf smoke #1562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Pangjiping
merged 34 commits into
opensandbox-group:main
from
Pangjiping:feat/execd-hardening-custom-policy-drift-e2e
Aug 19, 2026
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e96c495
feat(execd): custom-policy + drift e2e and ebpf bare smoke (OSEP-0018…
Pangjiping b701a29
docs(osep-0018): decline R-a trusted stop channel; keep kill 1 SIGTER…
Pangjiping 938defb
test(execd): close R-l(b)/R-m/R-u e2e gaps (OSEP-0018)
Pangjiping 6fe0f51
fix(e2e): runtime-stop marker path must not use $OPENSANDBOX_ID
Pangjiping c36c1b1
ci(execd): wire eBPF bare-container smoke into the smoke job (OSEP-00…
Pangjiping 2d31232
ci(execd): drop OSEP reference from eBPF smoke step name
Pangjiping 94fe1bb
test(execd): drop inline OSEP-0018 references from comments
Pangjiping 9401811
fix(ebpf): load each audit hook independently — fail-open per layer
Pangjiping b73f231
fix(e2e): smoke audit file must be readable by the host runner
Pangjiping f2890dc
fix(e2e): smoke dumps container logs on partial hook degrade
Pangjiping ec6829e
fix(e2e): capture report probe exit code under set -euo pipefail
Pangjiping 4af1bd1
fix(e2e): smoke dumps full container log on hook degrade
Pangjiping 33092aa
ci(ebpf): add per-arch bytecode regeneration + freshness check
Pangjiping 49f2cae
ci(ebpf): fetch per-arch vmlinux.h via CI artifact for bytecode regen…
Pangjiping bb65082
ci(ebpf): use the bpftool package instead of linux-tools-generic
Pangjiping 3a67111
ci(ebpf): simplify to one-shot vmlinux.h dump for committing
Pangjiping 5de41f4
feat(ebpf): generate CO-RE bytecode per TARGETARCH in the build flow
Pangjiping 76dbf15
feat(ebpf): commit vmlinux-x86_64.h, drop the temporary CI fetch step
Pangjiping e5875d0
fix(ebpf): correct vmlinux.h/bpf2go paths in the Dockerfile builder
Pangjiping d449757
feat(ebpf): vendor libbpf headers into prog/bpf for hermetic bpf2go
Pangjiping 09bdaea
fix(ebpf): remove the generic audit_bpfel/eb generated files
Pangjiping 8fe79a4
ci(ebpf): regenerate per-arch bytecode before running ebpf tests
Pangjiping 0e70121
fix(ebpf): fix generate-ebpf recipe variable scope and paths
Pangjiping 8514b5d
ci: retrigger execd tests (previous run stuck in queued)
Pangjiping 4e8d9db
feat(ebpf): replace per-arch vmlinux.h with a minimal audit_types.h
Pangjiping 19867b8
chore: remove accidentally committed execd launcher debug binary
Pangjiping 92430ee
fix(ebpf): restore ARG TARGETARCH in the ebpf-builder stage
Pangjiping 2b741f5
fix(ebpf): add types referenced by bpf_helper_defs.h prototypes
Pangjiping 6872e0d
fix(ebpf): pt_regs uses rdi (not di) and add uint*_t + ringbuf map type
Pangjiping 884b00c
fix(ebpf): review feedback — degraded state, strict smoke assertions,…
Pangjiping 52d8f90
docs(osep-0018): mark R-c/R-j implemented, update status header + R-h
Pangjiping 1e9907c
docs(osep-0018): slim the implementation status to remaining items
Pangjiping 0f3797f
docs(osep-0018): drop the all-green phase table and resolved-question…
Pangjiping f0a3cf8
Merge branch 'main' into feat/execd-hardening-custom-policy-drift-e2e
hittyt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Copyright 2026 Alibaba Group Holding Ltd. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| # Custom-policy hardening configuration for the execd-as-init e2e: a | ||
| # [seccomp] deny override (which REPLACES the built-in denylist) plus | ||
| # keep_capabilities. Proves both overrides reach the workload: | ||
| # - the denied syscall family (chmod/fchmodat/fchmodat2; glibc coreutils | ||
| # chmod uses fchmodat, busybox uses chmod) fails with EACCES in /command | ||
| # - CAP_NET_RAW (bit 13) is raised in the ambient set and survives execve, | ||
| # so the workload reports CapEff=0x2000 | ||
| # Landlock stays off: this variant is about the seccomp/caps overrides only. | ||
|
|
||
| [hardening] | ||
| enabled = true | ||
| keep_capabilities = ["CAP_NET_RAW"] | ||
|
|
||
| [seccomp] | ||
| deny = ["chmod", "fchmodat", "fchmodat2"] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.