From 1ba1cb886584966b4e6e65284a04dfaf8962ed65 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 29 Sep 2025 07:07:16 +0900 Subject: hst/config: remove seccomp bit fields These serve little purpose and are not friendly for use from other languages. Signed-off-by: Ophestra --- hst/hst.go | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'hst/hst.go') 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{ -- cgit v1.3.1