From: Andrew Morton <akpm@linux-foundation.org>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, scott@ubuntu.com, johnpol@2ka.mipt.ru,
matthltc@us.ibm.com, oleg@tv-sign.ru
Subject: Re: [patch 1/1] proc connector: add event for process becoming session leader
Date: Wed, 12 Aug 2009 18:02:31 -0700 [thread overview]
Message-ID: <20090812180231.1bdebc03.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090812.173203.35197832.davem@davemloft.net>
On Wed, 12 Aug 2009 17:32:03 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> From: akpm@linux-foundation.org
> Date: Thu, 06 Aug 2009 16:05:47 -0700
>
> > From: Scott James Remnant <scott@ubuntu.com>
> >
> > The act of a process becoming a session leader is a useful signal to a
> > supervising init daemon such as Upstart.
> >
> > While a daemon will normally do this as part of the process of becoming a
> > daemon, it is rare for its children to do so. When the children do, it is
> > nearly always a sign that the child should be considered detached from the
> > parent and not supervised along with it.
> >
> > The poster-child example is OpenSSH; the per-login children call setsid()
> > so that they may control the pty connected to them. If the primary daemon
> > dies or is restarted, we do not want to consider the per-login children
> > and want to respawn the primary daemon without killing the children.
> >
> > This patch adds a new PROC_SID_EVENT and associated structure to the
> > proc_event event_data union, it arranges for this to be emitted when the
> > special PIDTYPE_SID pid is set.
> >
> > [akpm@linux-foundation.org: coding-style fixes]
> > Signed-off-by: Scott James Remnant <scott@ubuntu.com>
> > Acked-by: Matt Helsley <matthltc@us.ibm.com>
> > Cc: Oleg Nesterov <oleg@tv-sign.ru>
> > Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
> > Cc: "David S. Miller" <davem@davemloft.net>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>
> Acked-by: David S. Miller <davem@davemloft.net>
Ta.
> This is more process handling level stuff than actual networking
> or connector bits, so it should probably be merged via akpm's
> usual patch bombs or some other relevant tree.
>
> Andrew, if you really want, I can take this into net-next-2.6
No probs, I'll send it for 2.6.32-rc1.
prev parent reply other threads:[~2009-08-13 1:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 23:05 [patch 1/1] proc connector: add event for process becoming session leader akpm
2009-08-13 0:32 ` David Miller
2009-08-13 1:02 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090812180231.1bdebc03.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=johnpol@2ka.mipt.ru \
--cc=matthltc@us.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=oleg@tv-sign.ru \
--cc=scott@ubuntu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.