mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Correctly release taskPathOperation for accessAt.
PiperOrigin-RevId: 302518924
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user