diff options
author | Elliott Hughes <enh@google.com> | 2020-01-10 16:03:45 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-01-10 23:46:06 -0600 |
commit | cb455b403b54b68a55d95c348c3c53bc6caa0790 (patch) | |
tree | 423f673f1e12dfcbcf7158c472349f3a2c3d761c /toys/pending/mke2fs.c | |
parent | 22633bf9807d4cfe7d15d6ca1c6fe63ff97182bc (diff) | |
download | toybox-cb455b403b54b68a55d95c348c3c53bc6caa0790.tar.gz |
setsid: document -w.
-w was added recently. The change in behavior so we now always fork
means that it's needed in more cases too: other implementations of
setsid(1) only fork if getpgrp() != getpid(). This broke a script, which
is what made me notice the missing help.
This seems to have been an accidental change, and is contrary to what
the util-linux setsid(1) man page says: "The command calls fork(2) if
already a process group leader. Otherwise, it executes a program
in the current process", but whether we change our behavior or not, we
should document the new option.
Diffstat (limited to 'toys/pending/mke2fs.c')
0 files changed, 0 insertions, 0 deletions