Home
last modified time | relevance | path

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

/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_share_mem.c36 prot = PROT_READ | PROT_WRITE; in InitSharedMem()
/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Ddfx_memory_file.cpp79 void* map = mmap(nullptr, size_, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, alignedOffset); in Init()
Ddfx_maps.cpp225 prots |= PROT_WRITE; in PermsToProts()
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.h78 #define PROT_WRITE 0x2 macro
Dpkg_utils.cpp128 …mappedData = mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_POPULATE | MAP_ANON, -1… in GetFileSize()
/base/startup/init/services/param/linux/
Dparam_osadp.c90 prot = PROT_READ | PROT_WRITE; in GetSharedMem()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
Ddfx_signal_local_handler.c61 PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, 1, 0); in ReserveChildThreadSignalStack()
Ddfx_signal_handler.c569 PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, 1, 0); in DFX_InstallSignalHandler()
/base/update/updater/services/ui/driver/
Dfbdev_driver.cpp98 buff_.vaddr = mmap(nullptr, finfo_.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init()
Ddrm_driver.cpp73 …bo->vaddr = static_cast<uint8_t *>(mmap(0, create.size, PROT_READ | PROT_WRITE, MAP_SHARED, fd_, m… in ModesetCreateFb()
/base/account/os_account/services/accountmgr/test/moduletest/common/
Dbundle_manager_adapter_module_test.cpp285 ashmem->MapAshmem(PROT_READ | PROT_WRITE);
316 ashmem->MapAshmem(PROT_READ | PROT_WRITE);
347 ashmem->MapAshmem(PROT_READ | PROT_WRITE);
/base/hiviewdfx/hilog/services/hilogd/
Dlog_persister.cpp210 PROT_READ | PROT_WRITE, MAP_SHARED, fileno(plainTextFile), 0)); in PrepareUncompressedFile()
/base/hiviewdfx/faultloggerd/test/systemtest/
Dfaultloggerd_system_test.cpp1031 PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, 1, 0);