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

- From: Andi Kleen \<hidden\>
- Date: 2014-08-04 14:47:32 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2014/08/86791
- Thread: https://ratatoskr.run/linux-fsdevel/2014/08/86679/t.md

```text
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

```
