Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp461 int dirfd = open(mountPoint, O_DIRECTORY); in createAsec() local
462 if (dirfd >= 0) { in createAsec()
463 if (fchown(dirfd, ownerUid, AID_SYSTEM) in createAsec()
464 … || fchmod(dirfd, S_IRUSR | S_IWUSR | S_IXUSR | S_ISGID | S_IRGRP | S_IXGRP)) { in createAsec()
467 close(dirfd); in createAsec()
620 int dirfd = open(mountPoint, O_DIRECTORY); in fixupAsecPermissions() local
621 if (dirfd < 0 || fchmod(dirfd, 0755)) { in fixupAsecPermissions()
625 close(dirfd); in fixupAsecPermissions()
866 int dirfd = open(dir, O_DIRECTORY); in isAsecInDirectory() local
867 if (dirfd < 0) { in isAsecInDirectory()
[all …]
Dmain.cpp114 dfd = dirfd(d); in do_coldboot()
DCommandListener.cpp279 fpathconf(dirfd(d), _PC_NAME_MAX) + 1; in listAsecsInDirectory()
/system/netd/
Dmain.cpp104 dfd = dirfd(d); in do_coldboot()
/system/security/keystore/
Dkeystore.cpp781 unlinkat(dirfd(dir), file->d_name, 0); in reset()
1349 unlinkat(dirfd(dir), file->d_name, 0); in upgradeKeystore()
1358 if (renameat(dirfd(dir), file->d_name, dirfd(otherdir), file->d_name) < 0) { in upgradeKeystore()
2125 if (unlinkat(dirfd(dir), file->d_name, 0) && errno != ENOENT) { in clear_uid()
/system/core/init/
Dproperty_service.c528 dir_fd = dirfd(dir); in load_persistent_properties()
Ddevices.c840 dfd = dirfd(d); in do_coldboot()
/system/core/charger/
Dcharger.c551 dfd = dirfd(d); in do_coldboot()