[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capabilities

From: Bas Wijnen
Subject: Re: Capabilities
Date: Sun, 12 Feb 2006 23:56:29 +0100
User-agent: Mutt/1.5.11

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

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]