mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
b90f89a1e7a9c1f6b918820b3daa7f08488c8594
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 Reviewed-on: https://go-review.googlesource.com/44374 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system. To submit changes to this repository, see http://golang.org/doc/contribute.html.
Description
Languages
Go
85.8%
Assembly
12.3%
Shell
1.7%
C
0.1%