Home
last modified time | relevance | path

Searched refs:XATTR_KEY (Results 1 - 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/platform/unix/mac/
H A Dos.cpp80 auto xattrValueSize = getxattr(path.c_str(), XATTR_KEY, nullptr, 0, 0, 0); in SetSecurityLabel()
83 xattrValueSize = getxattr(path.c_str(), XATTR_KEY, xattrValue, xattrValueSize, 0, 0); in SetSecurityLabel()
87 if (setxattr(path.c_str(), XATTR_KEY, DEFAULT_DATA_LEVEL.data(), DEFAULT_DATA_LEVEL.size(), 0, 0) < 0) { in SetSecurityLabel()
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
H A Dos.cpp107 auto xattrValueSize = getxattr(path.c_str(), XATTR_KEY, nullptr, 0); in SetSecurityLabel()
110 xattrValueSize = getxattr(path.c_str(), XATTR_KEY, xattrValue, xattrValueSize); in SetSecurityLabel()
114 if (setxattr(path.c_str(), XATTR_KEY, DEFAULT_DATA_LEVEL.data(), DEFAULT_DATA_LEVEL.size(), 0) < 0) { in SetSecurityLabel()
/arkcompiler/ets_runtime/ecmascript/platform/
H A Dos.h25 const char XATTR_KEY[] = {"user.security"}; member

Completed in 1 milliseconds