diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-07-15 12:14:42 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-15 12:14:42 -0700 |
commit | 8939fae0af9dc8e1cdf2553339fee35b684fc828 (patch) | |
tree | 95224138ca159fd3c6b9d32eaf6c1930c1dfd6ff /pkg/sentry/kernel/syslog.go | |
parent | fc48ace73aea9294c9f4ee881950d836715bf4d7 (diff) | |
parent | abffebde7be2dcdb4564e45f845d7c150ced0ccb (diff) |
Merge pull request #3165 from ridwanmsharif:ridwanmsharif/fuse-off-by-default
PiperOrigin-RevId: 321411758
Diffstat (limited to 'pkg/sentry/kernel/syslog.go')
-rw-r--r-- | pkg/sentry/kernel/syslog.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/syslog.go b/pkg/sentry/kernel/syslog.go index 4607cde2f..a83ce219c 100644 --- a/pkg/sentry/kernel/syslog.go +++ b/pkg/sentry/kernel/syslog.go @@ -98,6 +98,15 @@ func (s *syslog) Log() []byte { s.msg = append(s.msg, []byte(fmt.Sprintf(format, time, selectMessage()))...) } + if VFS2Enabled { + time += rand.Float64() / 2 + s.msg = append(s.msg, []byte(fmt.Sprintf(format, time, "Setting up VFS2..."))...) + if FUSEEnabled { + time += rand.Float64() / 2 + s.msg = append(s.msg, []byte(fmt.Sprintf(format, time, "Setting up FUSE..."))...) + } + } + time += rand.Float64() / 2 s.msg = append(s.msg, []byte(fmt.Sprintf(format, time, "Ready!"))...) |