dbus/bus bus.c,1.65,1.66 dbus-daemon.1.in,1.2,1.3
Sjoerd Simons
sjoerd at kemper.freedesktop.org
Mon Mar 6 11:06:47 PST 2006
- Previous message: dbus ChangeLog,1.980,1.981
- Next message: dbus/dbus dbus-hash.c, 1.19, 1.20 dbus-hash.h, 1.14,
1.15 dbus-userdb.c, 1.18, 1.19 dbus-userdb.h, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/bus
In directory kemper:/tmp/cvs-serv22575/bus
Modified Files:
bus.c dbus-daemon.1.in
Log Message:
* bus/bus.c: (bus_context_reload_config): Flush the user database cache on
config reload.
* bus/dbus-daemon.1.in: Also note that SIGHUP flushes the user/group
information caches
* dbus/dbus-hash.c: (_dbus_hash_table_remove_all):
* dbus/dbus-hash.h: Add function to remove all entries from a hash table
* dbus/dbus-userdb.c: (_dbus_user_database_flush):
* dbus/dbus-userdb.h: Add function to flush all user/group information
caches.
Index: bus.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/bus.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- bus.c 14 Nov 2005 20:51:25 -0000 1.65
+++ bus.c 6 Mar 2006 19:06:45 -0000 1.66
@@ -790,6 +790,9 @@
DBusString config_file;
dbus_bool_t ret;
+ /* Flush the user database cache */
+ _dbus_user_database_flush(context->user_database);
+
ret = FALSE;
_dbus_string_init_const (&config_file, context->config_file);
parser = bus_config_load (&config_file, TRUE, NULL, error);
Index: dbus-daemon.1.in
===================================================================
RCS file: /cvs/dbus/dbus/bus/dbus-daemon.1.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dbus-daemon.1.in 26 Feb 2006 08:11:03 -0000 1.2
+++ dbus-daemon.1.in 6 Mar 2006 19:06:45 -0000 1.3
@@ -51,9 +51,10 @@
.PP
SIGHUP will cause the D-BUS daemon to PARTIALLY reload its
-configuration file. Some configuration changes would require kicking
-all apps off the bus; so they will only take effect if you restart the
-daemon. Policy changes should take effect with SIGHUP.
+configuration file and to flush its user/group information caches. Some
+configuration changes would require kicking all apps off the bus; so they will
+only take effect if you restart the daemon. Policy changes should take effect
+with SIGHUP.
.SH OPTIONS
The following options are supported:
- Previous message: dbus ChangeLog,1.980,1.981
- Next message: dbus/dbus dbus-hash.c, 1.19, 1.20 dbus-hash.h, 1.14,
1.15 dbus-userdb.c, 1.18, 1.19 dbus-userdb.h, 1.10, 1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list