aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fshim/ipc
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-28 14:39:01 +0900
committerOphestra <cat@gensokyo.uk>2024-12-28 14:39:01 +0900
commit9b206072faa0511eea65f243d36226248c0a098f (patch)
tree0abe20c637ba826344da099a0dc92704dd3b581e /cmd/fshim/ipc
parentb9e2003d5b078a0704ee751aec80cfe8b4434646 (diff)
cmd/fshim: ensure data directory
Ensuring home directory in shim causes the directory to be owned by the target user. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/fshim/ipc')
-rw-r--r--cmd/fshim/ipc/payload.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/fshim/ipc/payload.go b/cmd/fshim/ipc/payload.go
index 3ef2dac1..92e51e8c 100644
--- a/cmd/fshim/ipc/payload.go
+++ b/cmd/fshim/ipc/payload.go
@@ -13,6 +13,8 @@ type Payload struct {
Exec [2]string
// bwrap config
Bwrap *bwrap.Config
+ // path to outer home directory
+ Home string
// sync fd
Sync *uintptr