Hello,

I'm trying to make subhurd work without root's permission, so the first task for me is to find the operations need the privilege.

I have a problem in store_parsed_open().
I believe store_parse_open() calls dev_open() if the filesystem of subhurd is in a disk. The first privilege operation I can find is get_privileged_port() when I look into the code of libstore.

I wrote a proc proxy, so I can track what RPC routines in process.defs are called (but the main purpose of the proc proxy is to give a program the master device port). When I tried to run the subhurd with the normal user, I got the "Permission denied" error when store_parse_open() is called but I didn't see proc_getprivports() was called in the proc proxy.
I wonder where is the privilege operation?

Zheng Da


Reply via email to