diff options
Diffstat (limited to 'helper/bwrap/config.go')
| -rw-r--r-- | helper/bwrap/config.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/helper/bwrap/config.go b/helper/bwrap/config.go index 6ca67793..8def27a6 100644 --- a/helper/bwrap/config.go +++ b/helper/bwrap/config.go @@ -1,9 +1,5 @@ package bwrap -import ( - "os" -) - type Config struct { // unshare every namespace we support by default if nil // (--unshare-all) @@ -61,10 +57,6 @@ type Config struct { // (--as-pid-1) AsInit bool `json:"as_init"` - // keep this fd open while sandbox is running - // (--sync-fd FD) - sync *os.File - /* unmapped options include: --unshare-user-try Create new user namespace if possible else continue by skipping it --unshare-cgroup-try Create new cgroup namespace if possible else continue by skipping it @@ -90,12 +82,6 @@ type Config struct { among which --args is used internally for passing arguments */ } -// Sync keep this fd open while sandbox is running -// (--sync-fd FD) -func (c *Config) Sync() *os.File { - return c.sync -} - type UnshareConfig struct { // (--unshare-user) // create new user namespace |
