← Back to Pull requests

specs-go/config: add keyring support #1112

Open
kailun-qin opened this pull request with 50 lines diff across 2 files
View on GitHub
kailun-qin kailun-qin commented on Aug 03, 2021 08:10 UTC
Author

Currently, with runc we have a special cmdline flag --no-new-keyring
for runc run that enables/disables the creation of a new kernel
keyring. The main reason we have the option is that older kernels had
issues with allocating a lot of keyrings (so in order to run containers
on old kernels you need to disable the creation of a new keyring).

This patch adds keyring support into part of the OCI spec which allows
managers to drive this behavior in a runtime-agnostic way and helps make
swapping in other runtimes easier.

Fixes https://github.com/opencontainers/runtime-spec/issues/754
Fixes https://github.com/opencontainers/runtime-spec/issues/950

Signed-off-by: Kailun Qin <kailun.qin@intel.com>

Diff: 50 lines (+50 / -0) across 2 files Reviewer: None requested Review duration: 2805519m
All Vouch review confidence checks passed
Residual risk 0.41 = Change Risk (0.70) × (1 − Review Confidence (0.42)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.70 · 50 lines diff across 2 files
0.70
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
42%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth shallow_review_depth
0.344
Diff Size diff_size
0.235
No Reviewer Assigned no_reviewer_assigned
0.120
Sensitive Paths sensitive_paths
0.070
Real PR Conversation Timeline
1 item
"Review active on #1112"
general weight: 0.35
Reviewers
None requested
Assignees
kailun-qin kailun-qin
Labels
risk: medium confidence: 42.2% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 70.2% (HIGH) · Higher = larger blast radius
70.2%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 42.2% · Lower = rushed or shallow review
42.2%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 40.6% · Moderate risk
40.6%