bug-hurd
[Top][All Lists]
Advanced

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

Re: What operations in store_parsed_open() need the privilege?


From: Da Zheng
Subject: Re: What operations in store_parsed_open() need the privilege?
Date: Thu, 28 Aug 2008 00:21:24 +0200
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

Thomas Bushnell BSG wrote:
On Wed, 2008-08-27 at 23:32 +0200, Da Zheng wrote:
I know boot fails and gets EPERM when it calls store_parsed_open, but I need to know what operations inside store_parsed_open() fail. Otherwise, I don't know how to fix it.

Boot assumes that it is run as root, and assumes that quite thoroughly.
It's exactly my task, to make every user able to run their own subhurd.
You need to have boot simply not even *try* to open such a device.  Note
that boot isn't calling your servers at all.  It calls the ones of its
containing environment.

I assume that store_parsed_open fails because it doesn't have
permissions on the underlying /dev node.
yes. but to be specific, it really depends on how we run boot.
If we run "boot -T device servers.boot hd1", what store_parsed_open does is to open the device by calling get_privileged_ports() and device_open(). In this case, there is nothing to do with /dev nodes, and my proc proxy might be able to give a help:-)

Zheng Da




reply via email to

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