lkml.org 
[lkml]   [1999]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-kernel-digest V1 #4144
cd_smith@ou.edu wrote:
> Some time (Linux 5.0 or
> something like that) we can remove the "backwards compatible" files
> like, say, /proc/101/mem, since different tasks in process 101 can really
> have different address spaces... ps should use /proc/101/1/mem instead (to
> get the address space of thread id 1 in process 101).

Quite a few programs open /proc/self/mem or /proc/self/exe or
/proc/self/fd/N on the assumption that these things work...

So maybe /proc/self should refer to the current thread in your scheme?

-- Jamie

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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.027 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site