chiark / gitweb /
prefork-interp: fix a comment char
[chiark-utils.git] / cprogs / prefork-interp.c
index dfc8aca2e452ad1598f65402928465ebc479a806..22cdc7d32daf985231593e6460a26786a22f595d 100644 (file)
@@ -6,6 +6,12 @@
  *   prefork-interp  [<option> ..] <interpreter>  [<script> [<args> ...]]
  *   prefork-interp  [<option>,..],<interpreter>   <script> [<args> ...]
  *   prefork-interp '[<option> ..] <interpreter>'  <script> [<args> ...]
+ *
+ * Options must specify argument laundering mode.
+ * Currently the only mode supported is:
+ *   -U    unlaundered: setup and executor both get all arguments and env vars
+ *         ident covers only env vars specified  with -E
+ *         ident covers only arguments interpreter and (if present) script
  */
 /*
  * Process structure:
@@ -33,7 +39,7 @@
  *                            forks for server
  *                [2]         exits
  *
#        server (pm) [1]     [fd0: null],
*        server (pm) [1]     [fd0: null],
  *                            [fd[12]: fd2-from-outer]
  *                            right away, forks init monitor
  *                    [2]     closes outer caller fds and call(fake)