aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorClayton Gilmer <netadr_t@outlook.com>2025-08-18 12:00:52 +0900
committerOphestra <cat@gensokyo.uk>2025-08-18 16:28:14 +0900
commit5db07140726e6e1bf615ed075e9a8b653508c2a7 (patch)
tree15cdb5ed164ec5cdc32527f87ee969ad704cdd11 /cmd
parent69a4ab81053ef31d745ac0d92531cefb7d3a3e44 (diff)
container: optionally isolate host abstract UNIX domain sockets via landlock
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hpkg/app.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/hpkg/app.go b/cmd/hpkg/app.go
index 67d12496..713a4fc7 100644
--- a/cmd/hpkg/app.go
+++ b/cmd/hpkg/app.go
@@ -28,6 +28,8 @@ type appInfo struct {
// passed through to [hst.Config]
Net bool `json:"net,omitempty"`
// passed through to [hst.Config]
+ Abstract bool `json:"abstract,omitempty"`
+ // passed through to [hst.Config]
Device bool `json:"dev,omitempty"`
// passed through to [hst.Config]
Tty bool `json:"tty,omitempty"`
@@ -87,6 +89,7 @@ func (app *appInfo) toHst(pathSet *appPathSet, pathname *container.Absolute, arg
Devel: app.Devel,
Userns: app.Userns,
Net: app.Net,
+ Abstract: app.Abstract,
Device: app.Device,
Tty: app.Tty || flagDropShell,
MapRealUID: app.MapRealUID,