diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-23 21:37:39 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-23 21:37:39 +0000 |
commit | c35e15907498fd4872381e27cbb93268e1259756 (patch) | |
tree | ff8b0235c8bb664f2a557401b04a5a89c1b95932 | |
parent | c94a4e867731c1a154f5a7d51bd46c2dae639f29 (diff) | |
parent | 6eebaea94936ffefd3603ff16ad2225856313fa3 (diff) |
Merge release-20200219.0-217-g6eebaea (automated)
-rwxr-xr-x | pkg/sentry/syscalls/linux/vfs2/stat.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/syscalls/linux/vfs2/stat.go b/pkg/sentry/syscalls/linux/vfs2/stat.go index 97eaedd66..068243132 100755 --- a/pkg/sentry/syscalls/linux/vfs2/stat.go +++ b/pkg/sentry/syscalls/linux/vfs2/stat.go @@ -272,6 +272,7 @@ func accessAt(t *kernel.Task, dirfd int32, pathAddr usermem.Addr, mode uint) err if err != nil { return err } + defer tpop.Release() // access(2) and faccessat(2) check permissions using real // UID/GID, not effective UID/GID. |