From: William Lee Irwin III <wli@holomorphy.com>
To: Kyle Moffett <mrmacman_g4@mac.com>
Cc: Albert Cahalan <acahalan@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
Al Viro <viro@zeniv.linux.org.uk>
Subject: Re: JIT emulator needs
Date: Sat, 23 Jun 2007 21:14:24 -0700 [thread overview]
Message-ID: <20070624041424.GK6909@holomorphy.com> (raw)
In-Reply-To: <8E4F75AB-FA08-46ED-B29F-9251ACB1A6EE@mac.com>
On Fri, Jun 08, 2007 at 02:35:22AM -0400, Albert Cahalan wrote:
>>> c. open() flag to unlink a file before returning the fd
On Jun 19, 2007, at 11:08:24, William Lee Irwin III wrote:
>> You probably want a tmpfile(3) -like affair which never has a
>> pathname to begin with. It could be useful for security purposes
>> more generally.
On Fri, Jun 22, 2007 at 11:52:12PM -0400, Kyle Moffett wrote:
> maybe this: open("/some/dir", O_TMPFILE);
> and this? open("/some/dir", O_TMPFILE|O_DIRECTORY);
> The former would return a filehandle to a new anonymous file
> somewhere on whatever filesystem backs the specified path. The
> latter would do the same, except create an anonymous directory where
> you could use "openat()" or something. Presumably "lsof" and "/proc"
> should show either type of handle as referring to either "/some/
> filesystem/" or "/some/filesystem/ (anonymous temp file)" or something.
This is plausible (and I did indeed consider the file variant),
though it may require more infrastructure than for tmpfs only.
It may be worth clarifying that I have no concrete plans to work on
the JIT emulator issues myself. I'm only disseminating ideas I think
will pass review. I expect others to take up the issue(s) perhaps with
some inspiration from what I described. I may review some, but I have
a large review backlog as things now stand.
-- wli
next prev parent reply other threads:[~2007-06-24 4:13 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-08 6:35 JIT emulator needs Albert Cahalan
2007-06-08 7:09 ` Eric Dumazet
2007-06-09 4:12 ` Albert Cahalan
2007-06-08 11:10 ` Alan Cox
2007-06-08 16:35 ` Nicholas Miell
2007-06-09 5:17 ` Albert Cahalan
2007-06-09 20:00 ` H. Peter Anvin
2007-06-19 15:08 ` William Lee Irwin III
2007-06-20 3:16 ` Albert Cahalan
2007-06-20 16:01 ` William Lee Irwin III
2007-06-20 16:37 ` H. Peter Anvin
2007-06-20 17:54 ` William Lee Irwin III
2007-06-20 18:23 ` H. Peter Anvin
2007-06-20 18:25 ` Albert Cahalan
2007-06-20 18:51 ` H. Peter Anvin
2007-06-21 3:21 ` Albert Cahalan
2007-06-21 3:32 ` H. Peter Anvin
2007-06-21 7:38 ` Albert Cahalan
2007-06-20 18:43 ` Albert Cahalan
2007-06-23 3:52 ` Kyle Moffett
2007-06-24 4:14 ` William Lee Irwin III [this message]
2007-06-21 17:44 ` Arjan van de Ven
2007-06-22 5:56 ` Albert Cahalan
2007-06-22 13:43 ` Arjan van de Ven
2007-06-22 14:32 ` Albert Cahalan
2007-06-22 14:42 ` Arjan van de Ven
2007-06-23 2:30 ` Albert Cahalan
[not found] <8tGiE-2Hv-1@gated-at.bofh.it>
[not found] ` <8xNvm-2Tw-29@gated-at.bofh.it>
[not found] ` <8xYTM-3So-13@gated-at.bofh.it>
2007-06-21 11:08 ` Bodo Eggert
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=20070624041424.GK6909@holomorphy.com \
--to=wli@holomorphy.com \
--cc=acahalan@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mrmacman_g4@mac.com \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).