diff options
Diffstat (limited to 'pkg/sentry/platform/platform.go')
-rw-r--r-- | pkg/sentry/platform/platform.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/platform/platform.go b/pkg/sentry/platform/platform.go index 1c385bc5a..f2fe163e8 100644 --- a/pkg/sentry/platform/platform.go +++ b/pkg/sentry/platform/platform.go @@ -305,8 +305,8 @@ type File interface { MapInto(as AddressSpace, addr usermem.Addr, fr FileRange, at usermem.AccessType, precommit bool) error // MapInternal returns a mapping of the given file offsets in the invoking - // process' address space for reading and writing. The lifetime of the - // returned mapping is implementation-defined. + // process' address space for reading and writing. The returned mapping is + // valid as long as a reference is held on the mapped range. // // Note that fr.Start and fr.End need not be page-aligned. // |