From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bert Wesarg Subject: Re: [REVIEW][PATCH 0/4] /proc/thread-self Date: Fri, 1 Aug 2014 09:14:45 +0200 Message-ID: References: <87oaw5caq1.fsf@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <87oaw5caq1.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Eric W. Biederman" Cc: Linux Containers , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Michael Kerrisk (man-pages)" , linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-api@vger.kernel.org On Fri, Aug 1, 2014 at 2:30 AM, Eric W. Biederman 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 -> ' ideom under /proc//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