[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 12 Feb 2006 23:56:29 +0100
On Sun, Feb 12, 2006 at 04:33:14PM -0300, Leonardo Pereira wrote:
> When you run a program, you can give a capabilitie to it and it will be able
> to use something or open some files. But what will happen if I use an
> interpreter? how the system will know what capabilities the interpreted
> program will have?
I'm not sure if I understand your question. An interpreter will need a
(read-only) capability to the script it's supposed to execute. Further, it
just receives extra capabilities (for a (possibly private) file system, for
example) just like any other process does. If it's a POSIX process (so it
doesn't know about capabilities), then this is done by the POSIX layer (I
think of it as a library, but it may end up to be something else), which
probably passes them on as files which can be opened or so.
Does that answer your question?
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://184.108.40.206/e-mail.html
Description: Digital signature
Re: Capabilities, Jonathan S. Shapiro, 2006/02/13
- Capabilities, Leonardo Pereira, 2006/02/12
- Re: Capabilities,
Bas Wijnen <=