diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-01-22 01:51:10 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-01-22 01:52:57 +0900 |
| commit | 9a239fa1a5ad2ff248ca7a9d39342f66926c9fef (patch) | |
| tree | 09efadb2ddf4eaeaf153d7e4b7d73e1b20d2fc1a /internal/app/app_pd_test.go | |
| parent | 82029948e6d8d047edc02ccff354e16c419e5742 (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 'internal/app/app_pd_test.go')
| -rw-r--r-- | internal/app/app_pd_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/app/app_pd_test.go b/internal/app/app_pd_test.go index 968a11ab..98ddf31f 100644 --- a/internal/app/app_pd_test.go +++ b/internal/app/app_pd_test.go @@ -39,6 +39,7 @@ var testCasesPd = []sealTestCase{ Net: true, UserNS: true, Clearenv: true, + Syscall: new(bwrap.SyscallPolicy), Chdir: "/home/chronos", SetEnv: map[string]string{ "HOME": "/home/chronos", @@ -258,6 +259,7 @@ var testCasesPd = []sealTestCase{ UserNS: true, Chdir: "/home/chronos", Clearenv: true, + Syscall: new(bwrap.SyscallPolicy), SetEnv: map[string]string{ "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/65534/bus", "DBUS_SYSTEM_BUS_ADDRESS": "unix:path=/run/dbus/system_bus_socket", |
