Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/utils/
Dunix_sockets_test.cpp32 auto memfd = SharedFD::MemfdCreate(""); in CreateMemFDWithData() local
33 CHECK(WriteAll(memfd, data) == data.size()) << memfd->StrError(); in CreateMemFDWithData()
34 CHECK(memfd->LSeek(0, SEEK_SET) == 0); in CreateMemFDWithData()
35 return memfd; in CreateMemFDWithData()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp427 auto memfd = MemfdCreate(name, flags); in MemfdCreateWithData() local
428 if (WriteAll(memfd, data) != data.size()) { in MemfdCreateWithData()
431 if (memfd->LSeek(0, SEEK_SET) != 0) { in MemfdCreateWithData()
432 return ErrorFD(memfd->GetErrno()); in MemfdCreateWithData()
434 if (!memfd->Chmod(0700)) { in MemfdCreateWithData()
435 return ErrorFD(memfd->GetErrno()); in MemfdCreateWithData()
437 return memfd; in MemfdCreateWithData()
/device/google/cuttlefish_vmm/x86_64-linux-gnu/etc/seccomp/
Dgpu_common.policy60 # Used to set of size new memfd.