Searched refs:prot (Results 1 – 4 of 4) sorted by relevance
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_share_mem.c | 34 int prot = PROT_READ; in InitSharedMem() local 36 prot = PROT_READ | PROT_WRITE; in InitSharedMem() 39 void *sharedMem = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in InitSharedMem()
|
/base/startup/init/services/param/linux/ |
D | param_osadp.c | 88 int prot = PROT_READ; in GetSharedMem() local 90 prot = PROT_READ | PROT_WRITE; in GetSharedMem() 93 void *areaAddr = (void *)mmap(NULL, spaceSize, prot, MAP_SHARED, fd, 0); in GetSharedMem()
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_utils.h | 82 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset);
|
D | pkg_utils.cpp | 286 [[maybe_unused]] int prot, [[maybe_unused]] int flags, int fd, [[maybe_unused]] size_t offset) in mmap() argument
|