mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-01 14:47:28 -04:00
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>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
c23410a886
commit
8d3b82dc77
@@ -1793,6 +1793,8 @@ const (
|
||||
WORDSIZE = 0x20
|
||||
WSTOPPED = 0x2
|
||||
WUNTRACED = 0x2
|
||||
XATTR_CREATE = 0x1
|
||||
XATTR_REPLACE = 0x2
|
||||
XCASE = 0x4
|
||||
XTABS = 0x1800
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user