Home
last modified time | relevance | path

Searched refs:ACL_XATTR_ACCESS (Results 1 - 4 of 4) sorted by relevance

/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/
H A Dsetacl.cpp216 ssize_t len = getxattr(file.c_str(), ACL_XATTR_ACCESS, buf, BUF_SIZE); in AclFromFile()
228 if (strcmp(aclAttrName, ACL_XATTR_ACCESS) != 0 && !IsDir(targetFile)) { in AclSetAttribution()
244 if (strcmp(aclAttrName, ACL_XATTR_ACCESS) == 0) { in AclSetAttribution()
282 return AclSetAttribution(targetFile, entryTxt, ACL_XATTR_ACCESS); in AclSetAccess()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dacl.cpp336 if (EnableAcl(MEDIA_DB_DIR, ACL_XATTR_ACCESS, ACL_PERM::Value::READ | ACL_PERM::Value::WRITE | in AclSetDatabase()
341 if (RecursiveEnableAcl(MEDIA_DB_DIR, ACL_XATTR_ACCESS, ACL_PERM::Value::READ | ACL_PERM::Value::WRITE | in AclSetDatabase()
371 if (EnableAcl(MEDIA_DB_FILE_SLAVE, ACL_XATTR_ACCESS, ACL_PERM::Value::READ | ACL_PERM::Value::WRITE | in AclSetSlaveDatabase()
376 if (EnableAcl(MEDIA_DB_FILE_SLAVE_SHM, ACL_XATTR_ACCESS, ACL_PERM::Value::READ | ACL_PERM::Value::WRITE | in AclSetSlaveDatabase()
381 if (EnableAcl(MEDIA_DB_FILE_SLAVE_WAL, ACL_XATTR_ACCESS, ACL_PERM::Value::READ | ACL_PERM::Value::WRITE | in AclSetSlaveDatabase()
394 ssize_t len = getxattr(file.c_str(), ACL_XATTR_ACCESS, buf, BUF_SIZE); in AclFromFile()
399 MEDIA_INFO_LOG("Failed to get ACL_XATTR_ACCESS from file: %{public}s", file.c_str()); in AclFromFile()
407 if (strcmp(aclAttrName, ACL_XATTR_ACCESS) == 0) { in EntryInsert()
/foundation/filemanagement/storage_service/services/storage_daemon/include/file_sharing/
H A Dacl.h27 constexpr const char *ACL_XATTR_ACCESS = "system.posix_acl_access"; member
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/include/
H A Dacl.h32 constexpr const char *ACL_XATTR_ACCESS = "system.posix_acl_access"; member

Completed in 3 milliseconds