|
From: | Ognyan Kulev |
Subject: | Re: what info are translators given? |
Date: | Sun, 23 Dec 2001 16:31:24 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.7) Gecko/20011221 |
mike burrell wrote:
do translators get any information about the processes that are trying to access their goodies?
After a quick look at `fs.defs' and `fsys.defs' my conclusion is that the translator can only see the UIDs and GIDs that the process give for access control. I hope i'm wrong. The same problem could arise for the `myfs' translator that i mentioned in help-hurd. (For example, `/my/documents' is user-specific directory depending on the process that asks.) What we need is RPC context similar to thread-specific data or CORBA objects context. The simplest is to add another port parameter to each remote procedure prototype but i'm not sure this is the correct way to do it. Or provide context-port on file_t port creations (opening a file, etc.) but what when file_t is delegated to another process with different context?
Regards -- Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
[Prev in Thread] | Current Thread | [Next in Thread] |