Home
last modified time | relevance | path

Searched refs:SECURITY_LABEL_XATTR_KEY (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/security/device_auth/services/frameworks/src/security_label_adapter/
H A Dsecurity_label_adapter.c23 #define SECURITY_LABEL_XATTR_KEY "user.security" macro
27 int32_t labelSize = getxattr(filePath, SECURITY_LABEL_XATTR_KEY, NULL, 0); in GetSecurityLabel()
37 labelSize = getxattr(filePath, SECURITY_LABEL_XATTR_KEY, label, labelSize); in GetSecurityLabel()
67 int32_t res = setxattr(filePath, SECURITY_LABEL_XATTR_KEY, labelToSet, in SetSecurityLabel()