aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/hst.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-29 07:07:16 +0900
committerOphestra <cat@gensokyo.uk>2025-09-29 07:07:16 +0900
commit1ba1cb886584966b4e6e65284a04dfaf8962ed65 (patch)
tree12a96d2220e88d410173ede47f25c74b5b4f9ae5 /hst/hst.go
parent44ba7a5f02b7575a706a22aac53c8ac608d18f23 (diff)
hst/config: remove seccomp bit fields
These serve little purpose and are not friendly for use from other languages. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/hst.go')
-rw-r--r--hst/hst.go25
1 files changed, 11 insertions, 14 deletions
diff --git a/hst/hst.go b/hst/hst.go
index 5399cba0..8a72b509 100644
--- a/hst/hst.go
+++ b/hst/hst.go
@@ -7,7 +7,6 @@ import (
"os"
"hakurei.app/container"
- "hakurei.app/container/seccomp"
"hakurei.app/system/dbus"
)
@@ -106,19 +105,17 @@ func Template() *Config {
Groups: []string{"video", "dialout", "plugdev"},
Container: &ContainerConfig{
- Hostname: "localhost",
- Devel: true,
- Userns: true,
- HostNet: true,
- HostAbstract: true,
- Device: true,
- WaitDelay: -1,
- SeccompFlags: seccomp.AllowMultiarch,
- SeccompPresets: seccomp.PresetExt,
- SeccompCompat: true,
- Tty: true,
- Multiarch: true,
- MapRealUID: true,
+ Hostname: "localhost",
+ Devel: true,
+ Userns: true,
+ HostNet: true,
+ HostAbstract: true,
+ Device: true,
+ WaitDelay: -1,
+ SeccompCompat: true,
+ Tty: true,
+ Multiarch: true,
+ MapRealUID: true,
// example API credentials pulled from Google Chrome
// DO NOT USE THESE IN A REAL BROWSER
Env: map[string]string{