[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #6844] fix a bug in init: initialize 'flags' in reboot_system
From: |
Zheng Da |
Subject: |
[patch #6844] fix a bug in init: initialize 'flags' in reboot_system |
Date: |
Tue, 02 Jun 2009 08:47:29 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10 |
URL:
<http://savannah.gnu.org/patch/?6844>
Summary: fix a bug in init: initialize 'flags' in
reboot_system
Project: The GNU Hurd
Submitted by: zhengda
Submitted on: Tue 02 Jun 2009 08:47:27 AM GMT
Category: other Hurd
Priority: 5 - Normal
Status: Works For Me
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
Wiki-like text discussion box:
_______________________________________________________
Details:
We should initialize 'flags' in reboot_system.
The only information we need to get from proc_getprocinfo is the state of the
process. 'flags = 0' is very enough to do the job and it can make
proc_getprocinfo less likely to fail.
The Mach in my system somehow doesn't support the TASK_EVENTS_INFO type of
information. Without the initialization of 'flags', it is possible that
proc_getprocinfo returns error, which results in the failure to shut down the
subhurd.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 02 Jun 2009 08:47:27 AM GMT Name: init.diff Size: 492B By:
zhengda
<http://savannah.gnu.org/patch/download.php?file_id=18216>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?6844>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #6844] fix a bug in init: initialize 'flags' in reboot_system,
Zheng Da <=