Re: linux-kernel-digest V1 #4144

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 15 Jul 1999 20:38:22 +0200


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/