ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / sysutils / virtualbox / patches / 07-stackclash.patch
blob2dadebe1ab5fad6b31fdfb748598626727069a1f
1 Patch from Andy Fiddaman <omnios@citrus-it.net>
3 Following the integration of '9641 want stack-clash mitigation', as_map()
4 now expects callback functions to be:
6 typedef int (*segcreate_func_t)(struct seg **, void *);
8 --- VirtualBox-7.0.18/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.h.orig
9 +++ VirtualBox-7.0.18/src/VBox/Runtime/r0drv/solaris/memobj-r0drv-solaris.h
10 @@ -68,8 +68,9 @@
11 static vnode_t s_segVBoxVnode;
14 -DECLINLINE(int) rtR0SegVBoxSolCreate(seg_t *pSeg, void *pvArgs)
15 +DECLINLINE(int) rtR0SegVBoxSolCreate(seg_t **ppSeg, void *pvArgs)
17 + seg_t *pSeg = *ppSeg;
18 struct as *pAddrSpace = pSeg->s_as;
19 PSEGVBOX_CRARGS pArgs = pvArgs;
20 PSEGVBOX_DATA pData = kmem_zalloc(sizeof(*pData), KM_SLEEP);