Messages in this thread | | | Subject | Re: 2.3.30 linuxNFS import is broken (Screwed up NFS/RPC credentials) | Date | Tue, 21 Dec 1999 20:01:46 +0000 (GMT) | From | Alan Cox <> |
| |
> > The most practical way of implementing this policy is therefore to > > hide the RPC auth in the file descriptor structure (I use the private > > data field), and pass that info via the file pointer to > > readpage/writepage/whatever else needs it. > > Urgh. Extremely ugly, IMO.
It makes a lot of sense. The authentication properties of an object are tied to the file handle in Unix. This is going to be a reality for all network systems using handles and credentials.
> what I'm trying to do. IMO fhandle of regular file should be available in > struct address_space (you'll need a new field in the union there). Ditto
Two people mapping the same file may have different credentials. Providing you cover that then yes
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |