Re: [go-nuts] xattrib on symlinks and holes in syscall support

2017-02-14 Thread Ian Lance Taylor
On Mon, Feb 13, 2017 at 4:45 PM, 'simon place' via golang-nuts wrote: > i have been tidying up some xattrib (extended file attribute) code, and had > what i thought was a cool idea. > > that idea used xattribs on symlinks. > > but when i tried this i found that syscall.Getxattr uses the sys call f

[go-nuts] xattrib on symlinks and holes in syscall support

2017-02-13 Thread 'simon place' via golang-nuts
i have been tidying up some xattrib (extended file attribute) code, and had what i thought was a cool idea. that idea used xattribs on symlinks. but when i tried this i found that syscall.Getxattr uses the sys call for following syslinks, (it wraps SYS_GETXATTR) and that the corresponding sysc