[cap-talk] Capability begginer questions

Matheus Morais matheus.morais at gmail.com
Wed Oct 3 08:44:22 EDT 2007


On 10/2/07, Kevin Reid <kpreid at mac.com> wrote:
>
> If this structure is intended to be protected from the user programs
> (actually or conceptually), then I don't see much wrong with it, but
> there's not enough information to tell how it's intended to be used.
>
> How are key values chosen? How are they looked up during capability
> invocation?
>
> What is stored in an r_list? What interprets the values?


I was thinking to generate the key values randomically using md5 hash
algorithm or something like that, since AFAIK the key must be unique for
each capabilitie, but  I didn't write any code to this job yet.

The r_list will store values like 'r' to read access and 'w' to write
access. The interpretation of these values will be made when an access
attempt will be made for that object, also there is no code writing too.

Currently I don't have any precise information about all that because I just
started to work on this, but I'm hopefully to give more detailed information
after spend more time on this.

Thank you very much for your concerns!
Matheus Morais
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/cap-talk/attachments/20071003/8c593018/attachment-0001.html 


More information about the cap-talk mailing list