hal/doc/spec hal-spec.html,1.27,1.28
David Zeuthen
david at freedesktop.org
Mon Sep 27 07:49:47 PDT 2004
Update of /cvs/hal/hal/doc/spec
In directory gabe:/tmp/cvs-serv8139/doc/spec
Modified Files:
hal-spec.html
Log Message:
2004-09-27 David Zeuthen <david at fubar.dk>
* libhal/libhal.c:
(struct LibHalContext_s): add is_shutdown field
(filter_func): if ctx->is_shutdown is TRUE don't process the message.
Return NOT_YET_HANDLED instead of HANDLED on all messages as several
libhal contexts may want to process them.
(hal_initialize): Set ctx->is_shutdown to FALSE
(hal_shutdown): Remove the matching rule on the Manager object and
set is_shutdown to TRUE. Don't fix the leak on the DBusConnection
because leaking it means that the application will terminate. Hence
introduce a leak of the LibHalContext since shutdown is async. Add
a few TODO comments about that this needs fixing (probably needs
dbus_bus_get_dedicated).
* hald/hald_dbus.c (sender_has_superuser_privileges): New function
(device_set_property): Require superuser
(device_add_capability): Require superuser
* hald/linux/block_class_device.c (block_class_pre_process): Add checks
for SATA disks - code snippet from Alan Cox <alan at redhat.com>
Index: hal-spec.html
===================================================================
RCS file: /cvs/hal/hal/doc/spec/hal-spec.html,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- hal-spec.html 24 Sep 2004 22:27:19 -0000 1.27
+++ hal-spec.html 27 Sep 2004 14:49:45 -0000 1.28
@@ -2,7 +2,7 @@
<HTML
><HEAD
><TITLE
->HAL 0.2.98 Specification</TITLE
+>HAL 0.2.98.cvs20040925 Specification</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
@@ -24,7 +24,7 @@
CLASS="title"
><A
NAME="AEN2"
->HAL 0.2.98 Specification</A
+>HAL 0.2.98.cvs20040925 Specification</A
></H1
><H3
CLASS="author"
@@ -51,7 +51,7 @@
></DIV
><SPAN
CLASS="releaseinfo"
->Version 0.2.98<BR></SPAN
+>Version 0.2.98.cvs20040925<BR></SPAN
><HR></DIV
><DIV
CLASS="TOC"
@@ -573,7 +573,7 @@
></TR
><TR
><TD
->0.2.98</TD
+>0.2.98.cvs20040925</TD
><TD
> </TD
><TD
More information about the hal-commit
mailing list