Skip to content
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 constants, errors for *xattr functions on linux. #14454

Closed
hirochachacha opened this issue Feb 22, 2016 · 1 comment
Closed

Comments

@hirochachacha
Copy link
Contributor

XATTR_CREATE and XATTR_REPLACE are missing.
"mkerror.sh" doesn't care about "sys/xattr.h".

http://man7.org/linux/man-pages/man2/setxattr.2.html

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Feb 22, 2016
@gopherbot
Copy link

CL https://golang.org/cl/46690 mentions this issue.

micanzhang pushed a commit to micanzhang/sys that referenced this issue Sep 12, 2017
Add the XATTR_CREATE and XATTR_REPLACE constants, to be used in the
flags parameter of Setxattr/Lsetxattr. See
http://man7.org/linux/man-pages/man2/setxattr.2.html

Fixes golang/go#14454

Change-Id: I868ac019fe3be755e0f6f8bff734f843ba602ee9
Reviewed-on: https://go-review.googlesource.com/46690
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
@golang golang locked and limited conversation to collaborators Jun 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants