1 diff -ur dbus-ORIG/dbus/dbus-sysdeps-unix.c dbus/dbus/dbus-sysdeps-unix.c
2 --- dbus-ORIG/dbus/dbus-sysdeps-unix.c 2007-08-07 06:05:12.000000000 +0200
3 +++ dbus/dbus/dbus-sysdeps-unix.c 2007-08-07 06:46:42.000000000 +0200
5 _dbus_append_user_from_current_process (DBusString *str)
7 return _dbus_string_append_uint (str,
13 @@ -1686,6 +1686,15 @@
17 +/** Gets our effective UID
18 + * @returns process effective UID
27 * The only reason this is separate from _dbus_getpid() is to allow it
28 * on Windows for logging but not for other purposes.
29 diff -ur dbus-ORIG/dbus/dbus-sysdeps-unix.h dbus/dbus/dbus-sysdeps-unix.h
30 --- dbus-ORIG/dbus/dbus-sysdeps-unix.h 2007-08-07 06:05:12.000000000 +0200
31 +++ dbus/dbus/dbus-sysdeps-unix.h 2007-08-07 06:46:13.000000000 +0200
33 void _dbus_group_info_free (DBusGroupInfo *info);
35 dbus_uid_t _dbus_getuid (void);
36 +dbus_uid_t _dbus_geteuid (void);
37 dbus_gid_t _dbus_getgid (void);
39 dbus_bool_t _dbus_parse_uid (const DBusString *uid_str,