| commit | 8d3b82dc77f1be1eb60021ae3909e654c0280c22 | [log] [tgz] |
|---|---|---|
| author | Tobias Klauser <tklauser@distanz.ch> | Mon Jun 26 18:18:20 2017 +0200 |
| committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Jun 26 16:26:13 2017 +0000 |
| tree | 635973620fbef40505a5c043df23ce7e6061b9b7 | |
| parent | c23410a886927bab8ca5e80b08af6a56faeb330d [diff] [blame] |
unix: add Setxattr constants 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>
diff --git a/unix/zerrors_linux_386.go b/unix/zerrors_linux_386.go index e8d945e..a21c3ab 100644 --- a/unix/zerrors_linux_386.go +++ b/unix/zerrors_linux_386.go
@@ -1788,6 +1788,8 @@ WORDSIZE = 0x20 WSTOPPED = 0x2 WUNTRACED = 0x2 + XATTR_CREATE = 0x1 + XATTR_REPLACE = 0x2 XCASE = 0x4 XTABS = 0x1800 )