lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Aug 2009 17:32:03 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	akpm@...ux-foundation.org
Cc:	netdev@...r.kernel.org, scott@...ntu.com, johnpol@....mipt.ru,
	matthltc@...ibm.com, oleg@...sign.ru
Subject: Re: [patch 1/1] proc connector: add event for process becoming
 session leader

From: akpm@...ux-foundation.org
Date: Thu, 06 Aug 2009 16:05:47 -0700

> From: Scott James Remnant <scott@...ntu.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@...ux-foundation.org: coding-style fixes]
> Signed-off-by: Scott James Remnant <scott@...ntu.com>
> Acked-by: Matt Helsley <matthltc@...ibm.com>
> Cc: Oleg Nesterov <oleg@...sign.ru>
> Cc: Evgeniy Polyakov <johnpol@....mipt.ru>
> Cc: "David S. Miller" <davem@...emloft.net>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>

Acked-by: David S. Miller <davem@...emloft.net>

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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists