Re: Dumpable tasks and ownership of /proc/*/fd
From: Bodo Eggert
Date: Tue Apr 11 2006 - 15:36:15 EST
Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
> Speaking of things why does the *at() emulation need to touch
> /proc/self/fd/*? I may be completely dense but if the practical
> justification for allowing access to /proc/self/fd/ is that we
> already have access then we shouldn't need /proc/self/fd.
>
> I suspect this a matter of convenience where you are prepending
> /proc/self/fd/xxx/ to the path before you open it instead of calling
> fchdir openat() and the doing fchdir back. Have I properly guessed
> how the *at() emulation works?
Think about threads or siglongjmp(sp?).
--
Ich danke GMX dafür, die Verwendung meiner Adressen mittels per SPF
verbreiteten Lügen zu sabotieren.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/