CVSROOT: /sources/hurd
Module name: hurd
Branch: zhengda-soc2008-virt-branch
Changes by: Zheng Da <zhengda> 09/04/19 01:01:56
Modified files:
boot : ChangeLog boot.c userland-boot.c util.h
Log message:
2009-04-19 Zheng Da <[email protected]>
* boot.c (thread_portclass): Removed variable.
(is_user): Added variable.
(options): Add option 'u'.
(parse_opt): Handle option 'u'.
(logfile): Added variabled.
(main): Handle the cases differently when the user is root.
(do_bootstrap_privileged_ports): Likewise.
(bootstrap_compat): Likewise.
(do_mach_notify_no_senders): Likewise.
(ds_device_open): If the user is root, open the kernel device
directly.
* userland-boot.c (boot_script_task_create): Create the pseudo
task
port if it's the
normal user.
(boot_script_free_task): Deallocate the task port if it's root.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd/boot/ChangeLog?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.46.12.3&r2=1.46.12.4
http://cvs.savannah.gnu.org/viewcvs/hurd/boot/boot.c?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.109.12.3&r2=1.109.12.4
http://cvs.savannah.gnu.org/viewcvs/hurd/boot/userland-boot.c?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.4.14.1&r2=1.4.14.2
http://cvs.savannah.gnu.org/viewcvs/hurd/boot/util.h?cvsroot=hurd&only_with_tag=zhengda-soc2008-virt-branch&r1=1.1.2.1&r2=1.1.2.2