Home
last modified time | relevance | path

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

/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_share_mem.c34 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/
Dparam_osadp.c88 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/
Dpkg_utils.h82 void *mmap(void *addr, size_t length, int prot, int flags, int fd, size_t offset);
Dpkg_utils.cpp286 [[maybe_unused]] int prot, [[maybe_unused]] int flags, int fd, [[maybe_unused]] size_t offset) in mmap() argument