Home
last modified time | relevance | path

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

/system/vold/
DVolumeManager.cpp432 int dirfd = open(mountPoint, O_DIRECTORY); in createAsec() local
433 if (dirfd >= 0) { in createAsec()
434 if (fchown(dirfd, ownerUid, AID_SYSTEM) in createAsec()
435 … || fchmod(dirfd, S_IRUSR | S_IWUSR | S_IXUSR | S_ISGID | S_IRGRP | S_IXGRP)) { in createAsec()
438 close(dirfd); in createAsec()
583 int dirfd = open(mountPoint, O_DIRECTORY); in fixupAsecPermissions() local
584 if (dirfd < 0 || fchmod(dirfd, 0755)) { in fixupAsecPermissions()
588 close(dirfd); in fixupAsecPermissions()
807 int dirfd = open(dir, O_DIRECTORY); in isAsecInDirectory() local
808 if (dirfd < 0) { in isAsecInDirectory()
[all …]
Dmain.cpp105 dfd = dirfd(d); in do_coldboot()
/system/netd/
Dmain.cpp104 dfd = dirfd(d); in do_coldboot()
/system/core/init/
Ddevices.c842 dfd = dirfd(d); in do_coldboot()
/system/core/charger/
Dcharger.c551 dfd = dirfd(d); in do_coldboot()