diff --git a/helper/bwrap/config.go b/helper/bwrap/config.go index f62cc24..0aad6de 100644 --- a/helper/bwrap/config.go +++ b/helper/bwrap/config.go @@ -1,10 +1,16 @@ package bwrap import ( + "encoding/gob" "os" "strconv" ) +func init() { + gob.Register(new(PermConfig[SymlinkConfig])) + gob.Register(new(PermConfig[*TmpfsConfig])) +} + type Config struct { // unshare every namespace we support by default if nil // (--unshare-all)