aboutsummaryrefslogtreecommitdiffhomepage
path: root/ldd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-01-22 01:51:10 +0900
committerOphestra <cat@gensokyo.uk>2025-01-22 01:52:57 +0900
commit9a239fa1a5ad2ff248ca7a9d39342f66926c9fef (patch)
tree09efadb2ddf4eaeaf153d7e4b7d73e1b20d2fc1a /ldd
parent82029948e6d8d047edc02ccff354e16c419e5742 (diff)
helper/bwrap: integrate seccomp into helper interface
This makes API usage much cleaner, and encapsulates all bwrap arguments in argsWt. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'ldd')
-rw-r--r--ldd/exec.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldd/exec.go b/ldd/exec.go
index eec31e47..23c4e892 100644
--- a/ldd/exec.go
+++ b/ldd/exec.go
@@ -23,7 +23,8 @@ func Exec(p string) ([]*Entry, error) {
NewSession: true,
DieWithParent: true,
}).Bind("/", "/").DevTmpfs("/dev"), "ldd",
- nil, func(_, _ int) []string { return []string{p} }, nil,
+ nil, func(_, _ int) []string { return []string{p} },
+ nil, nil,
); err != nil {
return nil, err
} else {