aboutsummaryrefslogtreecommitdiffstats
path: root/guts/vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/vfork.c')
-rw-r--r--guts/vfork.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/guts/vfork.c b/guts/vfork.c
new file mode 100644
index 0000000..7d234da
--- /dev/null
+++ b/guts/vfork.c
@@ -0,0 +1,14 @@
+/*
+ * static int
+ * wrap_vfork(void) {
+ * int rc = -1;
+ */
+
+ /* like fakeroot, we really can't handle vfork's implications */
+ rc = real_fork();
+ if (rc == 0)
+ pseudo_client_reset();
+
+/* return rc;
+ * }
+ */