> > A non-root user will use the door call to communicate with the dlmgmtd > > daemon. I believe that is not related to what permission of the door > > file has. > > But how does that user obtain the file descriptor that they pass to > door_call()? I'd presume they'd do an open(), and thus would need to at > least have read permission on the rendezvous file. > True.
> > > Also, I'm unclear why O_RDWR would be needed instead of O_RDONLY as we > > > never actually write to (or read from) the file. > > > > > See above. > > I'm not seeing the connection. The file descriptor that is opened O_RDWR > is closed before the fattach() is done. > Oh, I see what you mean. I will update the webrev and let you know. Thanks - Cathy
