Searched refs:ACL_XATTR_DEFAULT (Results 1 - 8 of 8) sorted by relevance
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/test/ |
H A D | filesharing_test.cpp | 72 EXPECT_TRUE(getxattr(SHARE_TOB_DIR.c_str(), ACL_XATTR_DEFAULT, nullptr, 0) > 0); in HWTEST_F() 96 EXPECT_TRUE(getxattr(PUBLIC_DIR.c_str(), ACL_XATTR_DEFAULT, nullptr, 0) > 0); in HWTEST_F() 122 EXPECT_TRUE(getxattr(SHARE_TOB_DIR.c_str(), ACL_XATTR_DEFAULT, nullptr, 0) > 0); in HWTEST_F() 123 EXPECT_TRUE(getxattr(PUBLIC_DIR.c_str(), ACL_XATTR_DEFAULT, nullptr, 0) > 0); in HWTEST_F()
|
/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/src/ |
H A D | file_sharing.cpp | 74 if (getxattr(SHARE_TOB_DIR.c_str(), ACL_XATTR_DEFAULT, nullptr, 0) <= 0) { in SetupDirAcl() 85 if (getxattr(PUBLIC_DIR.c_str(), ACL_XATTR_DEFAULT, nullptr, 0) <= 0) { in SetupDirAcl()
|
H A D | setacl.cpp | 277 return AclSetAttribution(targetFile, entryTxt, ACL_XATTR_DEFAULT); in AclSetDefault()
|
/foundation/distributeddatamgr/kv_store/databaseutils/src/ |
H A D | acl.cpp | 152 ssize_t len = getxattr(path_.c_str(), ACL_XATTR_DEFAULT, buf, BUF_SIZE); in AclFromDefault() 192 if (setxattr(path_.c_str(), ACL_XATTR_DEFAULT, buf.get(), bufSize, 0) == -1) { in SetDefault()
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/file_sharing/ |
H A D | acl.h | 28 constexpr const char *ACL_XATTR_DEFAULT = "system.posix_acl_default"; member
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/include/ |
H A D | acl.h | 33 constexpr const char *ACL_XATTR_DEFAULT = "system.posix_acl_default"; member
|
/foundation/distributeddatamgr/kv_store/databaseutils/include/ |
H A D | acl.h | 137 static constexpr const char *ACL_XATTR_DEFAULT = "system.posix_acl_default"; member in OHOS::DATABASE_UTILS::Acl
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | acl.cpp | 273 if (EnableAcl(THUMB_DIR, ACL_XATTR_DEFAULT, ACL_PERM::Value::READ | ACL_PERM::Value::EXECUTE, in AclSetDefault()
|
Completed in 4 milliseconds