diff options
author | Chong Cai <chongc@google.com> | 2020-12-15 15:38:19 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-15 15:40:04 -0800 |
commit | 7aa674eb68e9b760ea72508dfb79a19dbf5b85ed (patch) | |
tree | 65077e34a2c2fb67145e12ba011542cbe2074613 /pkg/sentry/fsimpl/verity/filesystem.go | |
parent | f6407de6bafbf8fe3e4579c876640672380fa96c (diff) |
Change violation mode to an enum
PiperOrigin-RevId: 347706953
Diffstat (limited to 'pkg/sentry/fsimpl/verity/filesystem.go')
-rw-r--r-- | pkg/sentry/fsimpl/verity/filesystem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/verity/filesystem.go b/pkg/sentry/fsimpl/verity/filesystem.go index 04e7110a3..a4ad625bb 100644 --- a/pkg/sentry/fsimpl/verity/filesystem.go +++ b/pkg/sentry/fsimpl/verity/filesystem.go @@ -163,7 +163,7 @@ afterSymlink: // verifyChildLocked verifies the hash of child against the already verified // hash of the parent to ensure the child is expected. verifyChild triggers a // sentry panic if unexpected modifications to the file system are detected. In -// noCrashOnVerificationFailure mode it returns a syserror instead. +// ErrorOnViolation mode it returns a syserror instead. // // Preconditions: // * fs.renameMu must be locked. |