diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-12-23 21:31:00 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-23 21:31:00 +0000 |
commit | 6ca36534a7488487185aa5bb4922fdcfb2a1bda9 (patch) | |
tree | d9155a9c15ca7200e1c0bc0efa7d44d575cea351 /pkg/sentry/vfs/options.go | |
parent | 245d8491449119807b919d3994a62c92210c2cc0 (diff) | |
parent | f45df7505b0e7baf48a37f7c625f05051d144738 (diff) |
Merge release-20191213.0-46-gf45df75 (automated)
Diffstat (limited to 'pkg/sentry/vfs/options.go')
-rwxr-xr-x | pkg/sentry/vfs/options.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/vfs/options.go b/pkg/sentry/vfs/options.go index 97ee4a446..87d2b0d1c 100755 --- a/pkg/sentry/vfs/options.go +++ b/pkg/sentry/vfs/options.go @@ -83,6 +83,9 @@ type ReadOptions struct { type RenameOptions struct { // Flags contains flags as specified for renameat2(2). Flags uint32 + + // If MustBeDir is true, the renamed file must be a directory. + MustBeDir bool } // SetStatOptions contains options to VirtualFilesystem.SetStatAt(), |