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 flags support for Setxattr on freebsd. #14455

Open
hirochachacha opened this issue Feb 22, 2016 · 3 comments
Open

x/sys/unix: missing flags support for Setxattr on freebsd. #14455

hirochachacha opened this issue Feb 22, 2016 · 3 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsFix The path to resolution is known, but the work has not been done. OS-FreeBSD
Milestone

Comments

@hirochachacha
Copy link
Contributor

Currently, flags parameter is ignored.
We can implement XATTR_CREATE and XATTR_REPLACE for this.

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Feb 22, 2016
@tklauser tklauser added help wanted OS-FreeBSD NeedsFix The path to resolution is known, but the work has not been done. labels Apr 3, 2018
@ayang64
Copy link
Member

ayang64 commented Jan 13, 2022

@hirochachacha, @tklauser -- has setxattr() ever been supported by FreeBSD? currently, there's no syscall.Setxattr() available if your GOOS is freebsd.

@tklauser
Copy link
Member

@ayang64 this issue is about unix.Setxattr in the golang.org/x/sys/unix package which is available for GOOS=freebsd: https://github.com/golang/sys/blob/5a964db013201115fcba5c3d31ade965d0969335/unix/xattr_bsd.go#L100-L114

@ericlagergren
Copy link
Contributor

@tklauser Do you mean adding dummy flags for GOOS=freebsd?

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsFix The path to resolution is known, but the work has not been done. OS-FreeBSD
Projects
Status: Triage Backlog
Development

No branches or pull requests

6 participants