about summary refs log tree commit homepage
path: root/cloexec_from.c
diff options
context:
space:
mode:
Diffstat (limited to 'cloexec_from.c')
-rw-r--r--cloexec_from.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloexec_from.c b/cloexec_from.c
index 444e665..8aa6a92 100644
--- a/cloexec_from.c
+++ b/cloexec_from.c
@@ -5,11 +5,11 @@
 #include "cmogstored.h"
 
 /*
- * this function is only called in a forked child (for iostat)
+ * this function is only called in a vforked child (for iostat)
  * if O_CLOEXEC/SOCK_CLOEXEC is unsupported, or if mog_cloexec_detect()
  * detects those flags are broken.
  */
-void mog_cloexec_from(int lowfd)
+void mog_cloexec_from(int lowfd) /* vfork-safe */
 {
         int fd;
         int last_good = lowfd;