Searched refs:dirfd (Results 1 – 8 of 8) sorted by relevance
/system/vold/ |
D | VolumeManager.cpp | 461 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 …]
|
D | main.cpp | 114 dfd = dirfd(d); in do_coldboot()
|
D | CommandListener.cpp | 279 fpathconf(dirfd(d), _PC_NAME_MAX) + 1; in listAsecsInDirectory()
|
/system/netd/ |
D | main.cpp | 104 dfd = dirfd(d); in do_coldboot()
|
/system/security/keystore/ |
D | keystore.cpp | 781 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/ |
D | property_service.c | 528 dir_fd = dirfd(dir); in load_persistent_properties()
|
D | devices.c | 840 dfd = dirfd(d); in do_coldboot()
|
/system/core/charger/ |
D | charger.c | 551 dfd = dirfd(d); in do_coldboot()
|