Searched refs:ddfd (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
D | utils.cpp | 443 static int _copy_dir_files(int sdfd, int ddfd, uid_t owner, gid_t group) in _copy_dir_files() argument 446 if (_copy_owner_permissions(sdfd, ddfd) != 0) { in _copy_dir_files() 449 if (fchown(ddfd, owner, group) != 0) { in _copy_dir_files() 466 int fdfd = openat(ddfd, name, O_WRONLY | O_NOFOLLOW | O_CLOEXEC | O_CREAT, 0600); in _copy_dir_files() 518 int ddfd = dirfd(dd); in copy_dir_files() local 519 if (sdfd != -1 && ddfd != -1) { in copy_dir_files() 520 res = _copy_dir_files(sdfd, ddfd, owner, group); in copy_dir_files()
|