Searched refs:XATTR_KEY (Results 1 - 1 of 1) sorted by relevance
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_securitylabel/ |
H A D | security_label.h | 29 const char XATTR_KEY[] = {"user.security"}; member 42 auto xattrValueSize = getxattr(path.c_str(), XATTR_KEY, nullptr, 0, 0, 0); in SetSecurityLabel() 44 auto xattrValueSize = getxattr(path.c_str(), XATTR_KEY, nullptr, 0); in SetSecurityLabel() 49 xattrValueSize = getxattr(path.c_str(), XATTR_KEY, xattrValue, xattrValueSize, 0, 0); in SetSecurityLabel() 51 xattrValueSize = getxattr(path.c_str(), XATTR_KEY, xattrValue, xattrValueSize); in SetSecurityLabel() 60 if (setxattr(path.c_str(), XATTR_KEY, dataLevel.c_str(), dataLevel.size(), 0, 0) < 0) { in SetSecurityLabel() 62 if (setxattr(path.c_str(), XATTR_KEY, dataLevel.c_str(), dataLevel.size(), 0) < 0) { in SetSecurityLabel() 72 auto xattrValueSize = getxattr(path.c_str(), XATTR_KEY, nullptr, 0, 0, 0); in SetSecurityLabel() 74 auto xattrValueSize = getxattr(path.c_str(), XATTR_KEY, nullptr, 0); in SetSecurityLabel() 84 xattrValueSize = getxattr(path.c_str(), XATTR_KEY, xattrValu in SetSecurityLabel() [all...] |
Completed in 1 milliseconds