Skip to content

rework daemonize() of cleanerd

Hitoshi Mitake linux-nilfs 1 version Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 7 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4cleanerd: ignore nofork optionsbin/cleanerd/cleanerd.c+12 -161 reply
2/4cleanerd: call _exit(2) twice for ensuring not being a session leadersbin/cleanerd/cleanerd.c+8 -04 replies
3/4mount: don't pass -n option to cleanerdlib/cleaner_exec.c+1 -31 reply
4/4man: remove a description of -n optionman/nilfs_cleanerd.8+0 -41 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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