Re: [REVIEW][PATCH 0/4] /proc/thread-self

From: Bert Wesarg
Date: Fri Aug 01 2014 - 03:14:52 EST


On Fri, Aug 1, 2014 at 2:30 AM, Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
>
> This patchset implements /proc/thread-self a magic symlink that
> solves a couple of problems.

shouldn't we keep the 'task' in the name, as it points into the 'task'
directory? And why not mimic the current 'self -> <id>' ideom under
/proc/<tgid>/task too and put a new 'self' link there:

$ ls -l /proc/self/task/self
lrwxrwxrwx 1 root root 0 Aug 1 00:00 /proc/self/task/self -> 484

Bert
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/