aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/libseccomp.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-26 16:20:16 +0900
committerOphestra <cat@gensokyo.uk>2026-03-26 16:23:15 +0900
commit2548a681e9a1e28c52805397edeccf719ec8ab45 (patch)
tree06202347c5762d8c1e05e4cc668829e633411d2c /internal/rosa/libseccomp.go
parentd514d0679fcd947cd10f7ba9d0418855515c19d5 (diff)
internal/rosa: key-value type
This type is used very frequently. The new type is much easier to type and can receive helper methods eventually if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/libseccomp.go')
-rw-r--r--internal/rosa/libseccomp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/libseccomp.go b/internal/rosa/libseccomp.go
index 972fff21..0eb15c1e 100644
--- a/internal/rosa/libseccomp.go
+++ b/internal/rosa/libseccomp.go
@@ -17,7 +17,7 @@ func (t Toolchain) newLibseccomp() (pkg.Artifact, string) {
ln -s ../system/bin/bash /bin/
`,
- Patches: [][2]string{
+ Patches: []KV{
{"fix-export-oob-read", `diff --git a/src/api.c b/src/api.c
index adccef3..65a277a 100644
--- a/src/api.c