From: Bodo Eggert <harvested.in.lkml@7eggert.dyndns.org>
To: "Eric W. Biederman" <ebiederm@xmission.com>,
Petr Baudis <pasky@suse.cz>,
linux-kernel@vger.kernel.org
Subject: Re: Dumpable tasks and ownership of /proc/*/fd
Date: Tue, 11 Apr 2006 21:30:32 +0200 [thread overview]
Message-ID: <E1FTOZg-0000av-IY@be1.lrz> (raw)
In-Reply-To: 5ZXrM-3qg-3@gated-at.bofh.it
Eric W. Biederman <ebiederm@xmission.com> 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.
next parent reply other threads:[~2006-04-11 19:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5Zkqr-5LI-5@gated-at.bofh.it>
[not found] ` <5ZXrM-3qg-3@gated-at.bofh.it>
2006-04-11 19:30 ` Bodo Eggert [this message]
2006-04-08 12:08 Dumpable tasks and ownership of /proc/*/fd Petr Baudis
2006-04-10 5:43 ` Eric W. Biederman
2006-04-10 6:53 ` Petr Baudis
2006-04-10 7:42 ` Eric W. Biederman
2006-04-11 13:40 ` Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1FTOZg-0000av-IY@be1.lrz \
--to=harvested.in.lkml@7eggert.dyndns.org \
--cc=7eggert@gmx.de \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pasky@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox