mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Internal change.
PiperOrigin-RevId: 366462448
This commit is contained in:
@@ -488,6 +488,7 @@ func (fd *regularFileFD) Seek(ctx context.Context, offset int64, whence int32) (
|
||||
// ConfigureMMap implements vfs.FileDescriptionImpl.ConfigureMMap.
|
||||
func (fd *regularFileFD) ConfigureMMap(ctx context.Context, opts *memmap.MMapOpts) error {
|
||||
file := fd.inode().impl.(*regularFile)
|
||||
opts.SentryOwnedContent = true
|
||||
return vfs.GenericConfigureMMap(&fd.vfsfd, file, opts)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user