From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [REVIEW][PATCH 0/4] /proc/thread-self Date: Mon, 04 Aug 2014 07:47:04 -0700 Message-ID: <87lhr4pb13.fsf@tassilo.jf.intel.com> References: <87oaw5caq1.fsf@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain Cc: containers@lists.osdl.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org To: linux-fsdevel@vger.kernel.org Return-path: Received: from plane.gmane.org ([80.91.229.3]:50565 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752926AbaHDOrc (ORCPT ); Mon, 4 Aug 2014 10:47:32 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XEJXu-0006sk-Uh for linux-fsdevel@vger.kernel.org; Mon, 04 Aug 2014 16:47:31 +0200 Received: from jfdmzpr06-ext.jf.intel.com ([134.134.137.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Aug 2014 16:47:30 +0200 Received: from andi by jfdmzpr06-ext.jf.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Aug 2014 16:47:30 +0200 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: ebiederm@xmission.com (Eric W. Biederman) writes: > This patchset implements /proc/thread-self a magic symlink that > solves a couple of problems. > > - It makes it easy to get to a specific threads directory in /proc > with gettid() not being exported in glibc this is currently a pain. syscall(__NR_gettid); -Andi -- ak@linux.intel.com -- Speaking for myself only