summaryrefslogtreecommitdiffhomepage
path: root/src/pty/ptyc_spawn.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-08-19 21:30:39 +0000
committermidipix <writeonce@midipix.org>2024-08-19 21:43:30 +0000
commitaa667626f1f8d16bcae27fe008f9d65e1131384b (patch)
treeeadedcaff772f408440dcb94fa684c64f7c03700 /src/pty/ptyc_spawn.c
parent4471476c8c75192b44ff37f1d4d08fd111ef6d05 (diff)
downloadptycon-aa667626f1f8d16bcae27fe008f9d65e1131384b.tar.bz2
ptycon-aa667626f1f8d16bcae27fe008f9d65e1131384b.tar.xz
ptyc_spawn(): propagate the framework's ipc object directory handles.HEADmain
Diffstat (limited to 'src/pty/ptyc_spawn.c')
-rw-r--r--src/pty/ptyc_spawn.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pty/ptyc_spawn.c b/src/pty/ptyc_spawn.c
index d34cc53..f3f4706 100644
--- a/src/pty/ptyc_spawn.c
+++ b/src/pty/ptyc_spawn.c
@@ -60,6 +60,20 @@ int ptyc_spawn(struct ptyc_driver_ctx * dctx)
rtctx.hcwd = self->hcwd;
rtctx.hroot = sparams.hroot;
+ rtctx.hntpipcdir = self->hntpipcdir;
+ rtctx.hpidmapdir = self->hpidmapdir;
+ rtctx.hpidanydir = self->hpidanydir;
+ rtctx.hntpgrpdir = self->hntpgrpdir;
+
+ rtctx.htmpfsldir = self->htmpfsldir;
+ rtctx.htmpfslroot = self->htmpfslroot;
+
+ rtctx.hshmctldir = self->hshmctldir;
+ rtctx.hshmctlroot = self->hshmctlroot;
+
+ rtctx.hshmkeydir = self->hshmkeydir;
+ rtctx.hshmkeyroot = self->hshmkeyroot;
+
rtctx.tty_type = self->tty_type;
rtctx.tty_subtype = self->tty_subtype;