The problems for the rootless subhurd

2009-04-20 Thread Da Zheng
Hi, I am developing the subhurd and try to remove its limitation that only the root can use it. The main task is to make boot works without the master device port and the privileged host port. The original boot implementation creates a pseudo master device port for subhurd and works as a pro

Is it a bug in init?

2009-04-20 Thread Da Zheng
Hi, I see init has the code as follows in frob_kernel_process(): vm_address_t kargv, kenvp; err = proc_get_arg_locations (kbs, &kargv, &kenvp); mach_port_deallocate (mach_task_self (), kbs); if (err) error (0, err, "kernel task bootstrap port (ignoring)"); else