diff options
author | Dean Deng <deandeng@google.com> | 2020-01-16 18:13:27 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-16 18:15:02 -0800 |
commit | 7a45ae7e67438697296fc12345202e3c76304096 (patch) | |
tree | eb022f8f55b45d59873b449b8ca741f67814295b /pkg/sentry/syscalls | |
parent | 1e7f0c822b3a7c643d532d40a14ab79eb1df85c6 (diff) |
Implement setxattr for overlays.
PiperOrigin-RevId: 290186303
Diffstat (limited to 'pkg/sentry/syscalls')
-rw-r--r-- | pkg/sentry/syscalls/linux/sys_xattr.go | 2 |
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 100644 --- 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) { |