Home
last modified time | relevance | path

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

/packages/modules/Connectivity/netbpfload/
Dloader.cpp755 string mapPinLoc = string(BPF_FS_PATH) + lookupPinSubdir(pin_subdir, prefix) + "map_" + in createMaps() local
761 if (access(mapPinLoc.c_str(), F_OK) == 0) { in createMaps()
762 fd.reset(mapRetrieveRO(mapPinLoc.c_str())); in createMaps()
799 AT_FDCWD, mapPinLoc.c_str(), RENAME_NOREPLACE); in createMaps()
802 ALOGE("rename %s %s -> %d [%d:%s]", createLoc.c_str(), mapPinLoc.c_str(), ret, in createMaps()
807 ret = bpfFdPin(fd, mapPinLoc.c_str()); in createMaps()
810 ALOGE("pin %s -> %d [%d:%s]", mapPinLoc.c_str(), ret, err, strerror(err)); in createMaps()
814 ret = chmod(mapPinLoc.c_str(), md[i].mode); in createMaps()
817 ALOGE("chmod(%s, 0%o) = %d [%d:%s]", mapPinLoc.c_str(), md[i].mode, ret, err, in createMaps()
821 ret = chown(mapPinLoc.c_str(), (uid_t)md[i].uid, (gid_t)md[i].gid); in createMaps()
[all …]