Searched refs:fProtect (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Runtime/r3/posix/
H A DRTMemProtect-posix.cpp41 RTDECL(int) RTMemProtect(void *pv, size_t cb, unsigned fProtect) RT_NO_THROW
51 if (fProtect & ~(RTMEM_PROT_NONE | RTMEM_PROT_READ | RTMEM_PROT_WRITE | RTMEM_PROT_EXEC))
53 AssertMsgFailed(("fProtect=%#x\n", fProtect));
65 fProt = fProtect;
68 if (!fProtect)
73 if (fProtect & RTMEM_PROT_READ)
75 if (fProtect & RTMEM_PROT_WRITE)
77 if (fProtect & RTMEM_PROT_EXEC)
/vbox/src/VBox/Runtime/r3/win/
H A Dalloc-win.cpp123 RTDECL(int) RTMemProtect(void *pv, size_t cb, unsigned fProtect) RT_NO_THROW
133 if (fProtect & ~(RTMEM_PROT_NONE | RTMEM_PROT_READ | RTMEM_PROT_WRITE | RTMEM_PROT_EXEC))
135 AssertMsgFailed(("fProtect=%#x\n", fProtect));
144 switch (fProtect & (RTMEM_PROT_NONE | RTMEM_PROT_READ | RTMEM_PROT_WRITE | RTMEM_PROT_EXEC))
180 AssertMsgFailed(("fProtect=%#x\n", fProtect));
/vbox/src/VBox/Runtime/r0drv/haiku/
H A Dmemobj-r0drv-haiku.c407 uint32 fProtect = 0; local
425 fProtect |= B_KERNEL_READ_AREA;
427 fProtect |= B_KERNEL_WRITE_AREA;
438 rc = area = clone_area("IPRT R0MemObj MapKernel", &pvMap, uAddrSpec, fProtect, pMemToMapHaiku->AreaId);
439 LogFlow(("rtR0MemObjNativeMapKernel: clone_area uAddrSpec=%d fProtect=%x AreaId=%d rc=%d\n", uAddrSpec, fProtect,
450 pMemToMapHaiku->Core.cb, uAddrSpec, fProtect, &pvMap);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPR3HardenedMain-win.cpp1052 ULONG fProtect = 0; local
1054 rcNt = supR3HardenedScreenImage(hFile, true /*fImage*/, false /*fIgnoreArch*/, &fAccess, &fProtect,
1177 "supR3HardenedScreenImage/%s: NtQueryObject -> %#x (fImage=%d fProtect=%#x fAccess=%#x)\n",
1241 "supR3HardenedScreenImage/%s: cached rc=%Rrc fImage=%d fProtect=%#x fAccess=%#x cHits=%u %ls\n",
1393 "supR3HardenedScreenImage/%s: Not a trusted location: '%ls' (fImage=%d fProtect=%#x fAccess=%#x)\n",
1431 "supR3HardenedScreenImage/%s: rc=%Rrc fImage=%d fProtect=%#x fAccess=%#x %ls: %s\n",
1489 ULONG fProtect = 0; local
1492 supR3HardenedScreenImage(hFile, false, false /*fIgnoreArch*/, &fAccess, &fProtect, &fCallRealApi, "preload",
1509 * @param fProtect The max section protection.
1515 PLARGE_INTEGER pcbSection, ULONG fProtect, ULON
1514 supR3HardenedMonitor_NtCreateSection(PHANDLE phSection, ACCESS_MASK fAccess, POBJECT_ATTRIBUTES pObjAttribs, PLARGE_INTEGER pcbSection, ULONG fProtect, ULONG fAttribs, HANDLE hFile) argument
1866 ULONG fProtect = 0; local
2034 ULONG fProtect = 0; local
[all...]
/vbox/include/iprt/
H A Dmem.h494 * @param fProtect The new protection, a combination of the RTMEM_PROT_* defines.
496 RTDECL(int) RTMemProtect(void *pv, size_t cb, unsigned fProtect) RT_NO_THROW;

Completed in 2299 milliseconds