rework daemonize() of cleanerd
Status from this message: Applied, thank you.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | cleanerd: ignore nofork optionsbin/ | +12 | 1 reply | |
| 2/4 | cleanerd: call _exit(2) twice for ensuring not being a session leadersbin/ | +8 | 4 replies | |
| 3/4 | mount: don't pass -n option to cleanerdlib/ | +1 | 1 reply | |
| 4/4 | man: remove a description of -n optionman/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH nilfs-utils v2 0/4] rework daemonize() of cleanerd
Current daemonize() function of cleanerd has a problem. It cannot ensure that the caller (cleanerd) doesn't become a session leader.
This patchset solves the above problem. In addition, the -n option of cleanerd is removed because it is obsolete. The description of the option in a man page is also removed.
Hitoshi Mitake (4):
cleanerd: ignore nofork option
cleanerd: call _exit(2) twice for ensuring not being a session leader
mount: don't pass -n option to cleanerd
man: remove a description of -n option
lib/cleaner_exec.c | 4 +--- man/nilfs_cleanerd.8 | 4 ---- sbin/cleanerd/cleanerd.c | 36 ++++++++++++++++++++---------------- 3 files changed, 21 insertions(+), 23 deletions(-)
Signature · 6 lines
1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html