summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-04 23:48:28 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-04 23:48:28 +0000
commita1356634b1f3f89aee4acd2b7966df31b29fb97c (patch)
treecb1b8ed2b70e627c99186e904f1f3c5493015119 /runsc/boot
parente6ce797f3838622a396586f4f85b78241af85c64 (diff)
parentcbb99336cee7d37f4050875a95946ca88b7ac690 (diff)
Merge release-20210726.0-32-gcbb99336c (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/controller.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/runsc/boot/controller.go b/runsc/boot/controller.go
index 548797788..60b532798 100644
--- a/runsc/boot/controller.go
+++ b/runsc/boot/controller.go
@@ -109,6 +109,11 @@ const (
LifecycleResume = "Lifecycle.Resume"
)
+// Filesystem related commands (see fs.go for more details).
+const (
+ FsCat = "Fs.Cat"
+)
+
// ControlSocketAddr generates an abstract unix socket name for the given ID.
func ControlSocketAddr(id string) string {
return fmt.Sprintf("\x00runsc-sandbox.%s", id)
@@ -151,6 +156,7 @@ func newController(fd int, l *Loader) (*controller, error) {
ctrl.srv.Register(&debug{})
ctrl.srv.Register(&control.Logging{})
ctrl.srv.Register(&control.Lifecycle{l.k})
+ ctrl.srv.Register(&control.Fs{l.k})
if l.root.conf.ProfileEnable {
ctrl.srv.Register(control.NewProfile(l.k))