summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/syscalls/linux
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-17 02:27:32 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-17 02:27:32 +0000
commitf0af1d1e1d32a73b2bbeee61b78049abbe0ac8d5 (patch)
tree1fe3f42a6dcede0be02f64294fad743db5a419f4 /pkg/sentry/syscalls/linux
parentb6542333a2598ed39d96c9169302d02a809b40df (diff)
parent7a45ae7e67438697296fc12345202e3c76304096 (diff)
Merge release-20200115.0-16-g7a45ae7 (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux')
-rwxr-xr-xpkg/sentry/syscalls/linux/sys_xattr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_xattr.go b/pkg/sentry/syscalls/linux/sys_xattr.go
index 816352218..23d20da6f 100755
--- a/pkg/sentry/syscalls/linux/sys_xattr.go
+++ b/pkg/sentry/syscalls/linux/sys_xattr.go
@@ -142,7 +142,7 @@ func setXattr(t *kernel.Task, d *fs.Dirent, dirPath bool, nameAddr, valueAddr us
return syserror.EOPNOTSUPP
}
- return d.Inode.SetXattr(t, name, value, flags)
+ return d.Inode.SetXattr(t, d, name, value, flags)
}
func copyInXattrName(t *kernel.Task, nameAddr usermem.Addr) (string, error) {