-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/sys/unix: missing xattr symlink xattr syscall functions #14116
Labels
Milestone
Comments
The syscall package is more or less frozen, and new system calls are added to the golang.org/x/sys package instead. |
I learned that. Is there a specific bugtracker for the sys package? |
All subrepo bugs are tracked here too.
|
tklauser
added a commit
to tklauser/sys
that referenced
this issue
May 29, 2017
Add support for the lgetxattr, llistxattr, lremovexattr and lsetxattr on Linux, akin to the already existing getxattr, listxattr, removexattr and setxattr syscalls. These variants are identical to the already existing variants. except in the case of a symbolic link where the extended attribute operation is applied to the link itself rather than to the file that it refers to. See: http://man7.org/linux/man-pages/man2/getxattr.2.html http://man7.org/linux/man-pages/man2/listxattr.2.html http://man7.org/linux/man-pages/man2/removexattr.2.html http://man7.org/linux/man-pages/man2/setxattr.2.html Fixes golang/go#14116 Change-Id: I786953db8bf862566f54bdd745cc1feca5031be7
CL https://golang.org/cl/44374 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The following syscall functions are not implemented, but are necessary if you need to copy symlinks while preserving xattrs:
Are they going to be implemented? How can we implement them in a separate package?
The text was updated successfully, but these errors were encountered: