bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What operations in store_parsed_open() need the privilege?


From: Da Zheng
Subject: What operations in store_parsed_open() need the privilege?
Date: Wed, 27 Aug 2008 01:57:18 +0200
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

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

[Prev in Thread] Current Thread [Next in Thread]