[lkml]   [2012]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 1/4] fs, proc: Introduce /proc/<pid>/task/<tid>/children entry v8
On Tue, Jan 24, 2012 at 06:11:21PM -0800, Eric W. Biederman wrote:
> KOSAKI Motohiro <> writes:
> >>
> >> How would these symlinks look like? "../../pid"? There were a conversation
> >> about such things ( but I suppose we
> >> were agree on children with pids as consensus.
> >
> > I couldn't find any agreement in this link. Suppose wrong url?
> Now that you have reminded me of this thread. I can say that the
> link would need to look like ../../pid. Our children will always
> be thread group leaders, so we can safely point to the /proc/<pid>
> directories. So readlink would return ../../<pid> or however many
> dots are needed. Follow link could just warp us to that directory
> as it does for the other magic proc symlinks.
> My feeling is that a children subdirectory would be a lot more useful
> than a simple file that lists the children.

I'll check what I can do, thanks.


 \ /
  Last update: 2012-01-25 07:59    [W:0.061 / U:3.720 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site