Correctly release taskPathOperation for accessAt.
PiperOrigin-RevId: 302518924
This commit is contained in:
parent
8c35614760
commit
6eebaea949
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue