c096c5cb9ac636626e158ed327b3d9279c4de347 |
|
03-May-2010 |
Fridrich Štrba <fridrich.strba@bluewin.ch> |
Don't truncate pointers on Windows x64 platform
/external/dbus/dbus/dbus-userdb.c
|
dbecdeabb20e0ce11121819c63373f0afba57c58 |
|
19-Mar-2010 |
Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> |
Consistently include <config.h> in all C source files and never in header files.
/external/dbus/dbus/dbus-userdb.c
|
0607bdb676c8fd95126ba994ab72e71becc232d8 |
|
01-Feb-2010 |
Colin Walters <walters@verbum.org> |
Don't crash when reloading if we haven't loaded user database yet The user database is populated on-demand, but the cache dropping code assumed it had been initialized. Simply check for NULL. https://bugs.freedesktop.org/show_bug.cgi?id=26182
/external/dbus/dbus/dbus-userdb.c
|
dc33f4f7749ed303374ebdf00e48ea8a471afd25 |
|
11-Jul-2009 |
Tobias Mueller <fdo-bugs@cryptobitch.de> |
Bug 21161 - Update the FSF address No comment. Signed-off-by: Colin Walters <walters@verbum.org> (cherry picked from commit 5baf2f856a9c6625993234855b07680da1c8916f)
/external/dbus/dbus/dbus-userdb.c
|
80306140b9c91bce319f50a55694f205a9a4392f |
|
30-May-2008 |
Colin Walters <walters@verbum.org> |
Bug 15588: Fix typo in #ifdef for userdb cache (Scott James Remnant) * dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Correct name of macro used in #ifdef block to match that defined by configure, otherwise the userdb cache will never be enabled.
/external/dbus/dbus/dbus-userdb.c
|
f55897af74ac072d3447e5cf513d0f4718b142c7 |
|
10-Oct-2007 |
Simon McVittie <simon.mcvittie@collabora.co.uk> |
Use DBUS_ERROR_INIT instead of dbus_error_init wherever it's clearly equivalent
/external/dbus/dbus/dbus-userdb.c
|
d012387afef0ba02185ebe27bc6bb15551912e92 |
|
14-Jul-2007 |
Havoc Pennington <hp@redhat.com> |
2007-07-13 Havoc Pennington <hp@redhat.com> * Add indent-tabs-mode: nil to all file headers.
/external/dbus/dbus/dbus-userdb.c
|
e7c0d217795f4e8eb618f82b9b3e52807436c8f1 |
|
14-Jun-2007 |
Havoc Pennington <hp@redhat.com> |
2007-06-14 Havoc Pennington <hp@redhat.com> * dbus/dbus-sysdeps-unix.c (_dbus_credentials_parse_and_add_user): delete this function since it was effectively the same as _dbus_credentials_add_from_username()
/external/dbus/dbus/dbus-userdb.c
|
48c6f1472dc315c9572cb1aebf8c7b68a66f5bef |
|
14-Jun-2007 |
Havoc Pennington <hp@redhat.com> |
2007-06-14 Havoc Pennington <hp@redhat.com> * dbus/dbus-auth.c: adapt to keyring changes * dbus/dbus-keyring.c: change to avoid using user ID and home directory directly; instead use a keyring-location-from-credentials function in dbus-sysdeps * fix to use _dbus_append_user_from_current_process() instead of _dbus_username_from_current_process() or _dbus_append_desired_identity().
/external/dbus/dbus/dbus-userdb.c
|
323790705782bee0d54ea9a342718a49b4ee5be6 |
|
14-Jun-2007 |
Ralf Habacker <ralf.habacker@freenet.de> |
* reverted global rename of function _dbus_username_from_current_process. It needs to much tests to verify that the change does not break anything. I had overseen that the signatures are different (** to *) which requires non trivial changes. This is one *major* disadvantage of elumating oop functionality with c. You are responsible for cleaning every object on every function return point, which could be a nightmare if you are not working with dbus all the days.
/external/dbus/dbus/dbus-userdb.c
|
cf4c8dbfa84136c44a18b65168ca599baec45d3a |
|
14-Jun-2007 |
Ralf Habacker <ralf.habacker@freenet.de> |
* dbus/dbus-sysdeps.c: moved global lock system_users from dbus-userdb.c
/external/dbus/dbus/dbus-userdb.c
|
eacd8a9ed70050544010064aad33f55c777d7d66 |
|
14-Jun-2007 |
Ralf Habacker <ralf.habacker@freenet.de> |
* global rename of function dbus_username_from_current_process to _dbus_append_desired_identity
/external/dbus/dbus/dbus-userdb.c
|
23832672266bb4ff23b66247c0cfa1a2ed0cc97b |
|
09-Jun-2007 |
Havoc Pennington <hp@redhat.com> |
2007-06-09 Havoc Pennington <hp@redhat.com> * bus/dispatch.c (check_get_connection_unix_process_id): adapt since sysdeps-unix.h stuff isn't included anymore * bus/bus.c (bus_context_new): use more abstract functions to change user, so they can be no-ops on Windows * dbus/dbus-credentials.c, dbus/dbus-credentials.h, dbus/dbus-credentials-util.c: new files containing a fully opaque DBusCredentials data type to replace the old not opaque one. * configure.in (DBUS_UNIX): define DBUS_UNIX to match DBUS_WIN on windows * dbus/dbus-userdb.h: prohibit on Windows, next step is to clean up the uses of it in bus/*.c and factor out the parts of cookie auth that depend on it
/external/dbus/dbus/dbus-userdb.c
|
60bf9558682754eee076b79bacf0a9815c60b94b |
|
12-Dec-2006 |
Tim Dijkstra <tim@famdijkstra.org> |
* configure.in: Added switch to disable user_database caching. * dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Add ifdefs to be able disable user_dabase caching.
/external/dbus/dbus/dbus-userdb.c
|
145fb99b6e0351d92ffd2f85be77b426c89df59b |
|
12-Dec-2006 |
Tim Dijkstra <tim@famdijkstra.org> |
commit.msg
/external/dbus/dbus/dbus-userdb.c
|
8e659dac9fd5585c7b4ade836e09c22227d9ddc6 |
|
10-Sep-2006 |
Havoc Pennington <hp@redhat.com> |
2006-09-10 Havoc Pennington <hp@redhat.com> patch mostly by Peter Kümmel, bug #8211 * dbus/dbus-sysdeps-unix.c: new file, which splits out unix-specific stuff in dbus-sysdeps.c * dbus/dbus-sysdeps.c: don't include any UNIX-only headers, and move unix-specific stuff to dbus-sysdeps-unix.c * configure.in: check HAVE_ERRNO_H
/external/dbus/dbus/dbus-userdb.c
|
caf220015ba1afd9dfca2a93cfa5208058041610 |
|
06-Mar-2006 |
Sjoerd Simons <sjoerd@luon.net> |
* 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.
/external/dbus/dbus/dbus-userdb.c
|
a2866f736612afc3308a1df33e7902283354e0f9 |
|
24-Feb-2006 |
John (J5) Palmieri <johnp@redhat.com> |
2006-02-24 John (J5) Palmieri <johnp@redhat.com> * patch from Sjoerd Simons <sjoerd at debian.org>: * dbus/dbus-sysdeps-util.c (_dbus_group_info_free): Moved to dbus/dbus-sysdeps.c * dbus/dbus-userdb.c (_dbus_group_info_free_allocated): Don't call _dbus_group_info_free_allocated which causes infinite loop, correctly call _dbus_group_info_free
/external/dbus/dbus/dbus-userdb.c
|
6eab51411982fc61c193caed388608c4f2bd25d1 |
|
22-Mar-2005 |
John (J5) Palmieri <johnp@redhat.com> |
* tools/Makefile.am: Patch by Colin Walters that fixes distcheck * dbus/dbus-userdb.c, dbus/dbus-userdb-util.c: Add patch we have had in Red Hat packages for a while but for some reason never got merged upstream (_dbus_is_a_number): New checks if a string can be converted to a number and does the conversion if it can (_dbus_user_database_lookup): Add check to see if the given username is a udi. This allows udi's to be used instead of usernames in the config file. (_dbus_user_database_lookup_group): Add check to see if the given groupname is a gdi. This allows gdi's to be used instead of groupnames in the config file.
/external/dbus/dbus/dbus-userdb.c
|
49c64e69deb118555bba63318e7f29a559685f11 |
|
18-Mar-2005 |
Colin Walters <walters@verbum.org> |
2005-03-17 Tom Parker <palfrey@tevp.net> * dbus/dbus-userdb.c (_dbus_user_database_lookup): Don't print DBUS_UID_UNSET; instead print passed username. Also be sure to actually use gid looked up in cache. * dbus/dbus-userdb-util.c (_dbus_user_database_lookup_group): Ditto for DBUS_GID_UNSET and groupname.
/external/dbus/dbus/dbus-userdb.c
|
b651df55102ba0867ad5050f6942d9c04c87efd9 |
|
18-Mar-2005 |
Colin Walters <walters@verbum.org> |
2005-03-17 Tom Parker <palfrey@tevp.net> * dbus/dbus-userdb.c (_dbus_user_database_lookup): Don't print DBUS_UID_UNSET; instead print passed username. * dbus/dbus-userdb-util.c (_dbus_user_database_lookup_group): Ditto for DBUS_GID_UNSET and groupname.
/external/dbus/dbus/dbus-userdb.c
|
7bf62e31a3c820852271768fafc04ba95c31a19f |
|
17-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-16 Havoc Pennington <hp@redhat.com> This is about it on what can be disabled/deleted from libdbus easily, back below 150K anyhow. Deeper cuts are more work than just turning the code off as I've done here. * dbus/dbus-marshal-basic.c (_dbus_pack_int32): we don't need the signed int convenience funcs * dbus/dbus-internals.c (_dbus_verbose_real): omit when not in verbose mode * dbus/dbus-string-util.c, dbus/dbus-string.c: more breaking things out of libdbus * dbus/dbus-sysdeps.c, dbus/dbus-sysdeps-util.c: same * dbus/dbus-hash.c: purge the TWO_STRINGS crap (well, make it tests-enabled-only, though it should probably be deleted) * dbus/dbus-message-util.c: same stuff * dbus/dbus-auth-util.c: same stuff
/external/dbus/dbus/dbus-userdb.c
|
4c1a2a760b67b4600db3e5b9c2ad0056b5cf32b6 |
|
17-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-16 Havoc Pennington <hp@redhat.com> * dbus/dbus-userdb-util.c: split out part of dbus-userdb.c * dbus/dbus-sysdeps.c (_dbus_uid_from_string): move here to pave way for stripping down dbus-userdb.c stuff included in libdbus. Rename _dbus_parse_uid for consistency.
/external/dbus/dbus/dbus-userdb.c
|
7f9721a6d36697a57170c604aa845af3531bd157 |
|
16-Jan-2005 |
Havoc Pennington <hp@redhat.com> |
2005-01-16 Havoc Pennington <hp@redhat.com> * test/unused-code-gc.py: hacky script to find code that's used only by the bus (not libdbus) or used only by tests or not used at all. It has some false alarms, but looks like we can clean up a lot of size from libdbus. * dbus/dbus-sysdeps.c, dbus/dbus-sysdeps-utils.c, dbus/Makefile.am: initially move 10K of binary size out of libdbus
/external/dbus/dbus/dbus-userdb.c
|
f14f2196cc129e4e17f993773d57000784958bcf |
|
29-Aug-2004 |
Havoc Pennington <hp@redhat.com> |
2004-08-28 Havoc Pennington <hp@redhat.com> * dbus/dbus-userdb.c (_dbus_is_console_user): remove unused variable More fixes from Steve Grubb * dbus/dbus-sysdeps.c (_dbus_connect_tcp_socket): fix fd leak (_dbus_listen_tcp_socket): fix fd leak * dbus/dbus-spawn.c (read_pid, read_ints): move the "again:" for EINTR to a bit lower in the code
/external/dbus/dbus/dbus-userdb.c
|
b78d222083d1a1186743e2bb3aded49b5a950fe2 |
|
26-Aug-2004 |
John (J5) Palmieri <johnp@redhat.com> |
Console user security policy * bus/config-parser.c: (struct PolicyType): Add POLICY_CONSOLE (struct Element.d.policy): s/gid_or_uid/gid_uid_or_at_console (start_busconfig_child): Sets up console element when <policy at_console=""> is encountered in a policy file (append_rule_from_element): Convert console elements to console rules. * bus/policy.c: (bus_policy_create_client_policy): Add console rules to the client policy based on if the client is at the console (bus_policy_append_console_rule): New function for adding a console rule to a policy (bus_policy_merge): Handle console rule merging * dbus/dbus-sysdeps.h: Added the DBUS_CONSOLE_DIR constant where we check for console user files * dbus/dbus-sysdeps.c: (_dbus_file_exists): New function which checks if the given file exists (_dbus_user_at_console): New function which does the system specific process of checking if the user is at the console * dbus/dbus-userdb.c: (_dbus_is_console_user): New function converts a UID to user name and then calls the system specific _dbus_user_at_console to see if the user is at the console and therefor a console user
/external/dbus/dbus/dbus-userdb.c
|
43605a6f4e78a8c28afb4b1e924dff0301e0e95c |
|
10-Aug-2004 |
Havoc Pennington <hp@redhat.com> |
2004-08-09 Havoc Pennington <hp@redhat.com> * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
/external/dbus/dbus/dbus-userdb.c
|
961e6ca41c1e9433055130569ce3492866e2126b |
|
20-Jun-2004 |
Havoc Pennington <hp@redhat.com> |
2004-06-20 Havoc Pennington <hp@redhat.com> * dbus/dbus-glib-error-enum.h: autogenerate the GError enum codes from the dbus error names * glib/dbus-glib.h: move to subdir dbus/ since it's included as dbus/dbus-glib.h and that breakage is now visible due to including dbus/dbus-glib.h in dbus-glib-lowlevel.h * glib/dbus-glib.h: s/gproxy/g_proxy/ * dbus/dbus-shared.h: new header to hold stuff shared with binding APIs * dbus/dbus-protocol.h (DBUS_ERROR_*): move errors here rather than dbus-errors.h * glib/dbus-glib.h (dbus_set_g_error): move to dbus-glib-lowlevel.h * glib/dbus-glib.h: remove dbus/dbus.h from here; change a bunch of stuff to enable this * dbus/dbus-glib-lowlevel.h: put dbus/dbus.h here * a bunch of other changes with the same basic "separate glib bindings from dbus.h" theme
/external/dbus/dbus/dbus-userdb.c
|
a1df3040f29223eddaa3ace0fe018fcb28cddcd9 |
|
02-Dec-2003 |
Richard Hult <richard@imendio.com> |
2003-12-02 Richard Hult <richard@imendio.com> * Update AFL version to 2.0 throughout the source files to reflect the update that was done a while ago.
/external/dbus/dbus/dbus-userdb.c
|
9f1a60dbba69844c0a04b3dd86280352736187ce |
|
27-Nov-2003 |
Mikael Hallendal <micke@imendio.com> |
2003-11-26 Mikael Hallendal <micke@imendio.com> * bus/*.[ch]: * dbus/*.[ch]: * glib/*.[ch]: Made ref functions return the pointer
/external/dbus/dbus/dbus-userdb.c
|
85ab0327d82e4945ad16630e583d8cc68df25a90 |
|
08-Sep-2003 |
Havoc Pennington <hp@redhat.com> |
2003-09-07 Havoc Pennington <hp@pobox.com> * Make Doxygen contented.
/external/dbus/dbus/dbus-userdb.c
|
893d859ed4ab785f46485fad28779f026fa166a1 |
|
28-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-28 Havoc Pennington <hp@redhat.com> * configure.in: 0.10 * NEWS: update * bus/system.conf.in: add <includedir>system.d</includedir> * dbus/dbus-userdb.c (_dbus_user_database_lookup): fix bug when username was provided but not uid * bus/config-parser.c (struct BusConfigParser): keep track of whether the parser is toplevel or was included; change some of the error handling if it's included.
/external/dbus/dbus/dbus-userdb.c
|
3df260c07102745c5606c313af862558f105f83e |
|
18-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-18 Havoc Pennington <hp@pobox.com> * glib/dbus-gmain.c: adapt to watch changes * bus/bus.c, bus/activation.c, etc.: adjust to watch changes * dbus/dbus-server.h: remove dbus_server_handle_watch * dbus/dbus-connection.h: remove dbus_connection_handle_watch * dbus/dbus-watch.c (dbus_watch_handle): change DBusWatch to work like DBusTimeout, so we don't need dbus_connection_handle_watch etc.
/external/dbus/dbus/dbus-userdb.c
|
88cd5da3c0ec86fed29942b062c2f7bf0f8fda44 |
|
18-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-17 Havoc Pennington <hp@redhat.com> * dbus/dbus-userdb.c, dbus/dbus-sysdeps.c: redo all the passwd database usage so it all goes via the DBusUserDatabase cache.
/external/dbus/dbus/dbus-userdb.c
|
fe1cb3a9a1fc6bcbfa1b3be74ac9d5867005210f |
|
15-Apr-2003 |
Havoc Pennington <hp@redhat.com> |
2003-04-14 Havoc Pennington <hp@redhat.com> * dbus/dbus-userdb.c: user database abstraction, mostly to get caching, but at some point we might want to be able to use a different database. * bus/dispatch.c (bus_dispatch_sha1_test): add a test that uses SHA1 conf file to test the sha1 auth mechanism, since the regular test always uses EXTERNAL when available. * configure.in, test/data/valid-config-files/debug-allow-all-sha1.conf.in: add conf file that requires use of sha1 auth
/external/dbus/dbus/dbus-userdb.c
|