summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/pe_unit_ctx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c
index 2845689..b3dae71 100644
--- a/src/driver/pe_unit_ctx.c
+++ b/src/driver/pe_unit_ctx.c
@@ -40,6 +40,9 @@ int pe_get_unit_ctx(
else if (!(ctx = calloc(1,sizeof(*ctx))))
return PERK_BUFFER_ERROR(dctx);
+ pe_driver_set_ectx(
+ dctx,0,path);
+
prot = (dctx->cctx->actflags & PERK_ACTION_MAP_READWRITE)
? PROT_READ | PROT_WRITE
: PROT_READ;