summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-sysdeps-util-unix.c
Commit message (Collapse)AuthorAgeFilesLines
* 2007-07-13 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-07-141-1/+1
| | | | * Add indent-tabs-mode: nil to all file headers.
* 2007-06-13 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-06-131-4/+100
| | | | | | | | | | | * configure.ac, bus/selinux.c, dbus/dbus-sysdeps-unix-util.c: add libaudit support, no clue what this means really but now we have it. Patches from Fedora package. * bus/bus.c (bus_context_new): move selinux initialization after changing to daemon user, patch from Fedora package * dbus/dbus-transport.c (auth_via_unix_user_function): fix a typo
* 2007-06-09 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-06-091-0/+92
| | | | | | | | | | | | | | | | | | | * bus/policy.c (bus_policy_create_client_policy): gracefully continue if the connection has no unix user - just don't apply any unix user dependent rules. * bus/config-parser.c: remove dbus-userdb.h usage * bus/bus.c: remove dbus-userdb.h usage * dbus/dbus-transport.c (_dbus_transport_get_is_authenticated): support Windows user function; also, fix the logic for checking auth as root in the default auth code (broken in the previous commit) * dbus/dbus-connection.c (dbus_connection_set_windows_user_function): new function (dbus_connection_get_windows_user): new function
* 2007-06-09 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-06-091-5/+32
| | | | | | | | | | | | | | | | | | | * 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
* 2007-03-11 Havoc Pennington <hp@redhat.com>Havoc Pennington2007-03-121-7/+10
| | | | | | | | | | | | | | * tools/dbus-launch.c (do_close_stderr): fix C89 problem and formatting problem * Mostly fix the DBusPipe mess. - put line break after function return types - put space before parens - do not pass structs around by value - don't use dbus_strerror after calling supposedly cross-platform api - don't name pipe variables "fd" - abstract special fd numbers like -1 and 1
* * dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon): fix _dbus_pid_fd check.Ralf Habacker2007-03-121-1/+1
|
* * bus/bus.c, bus/bus.h, bus/main.c, bus/test.c, dbus/dbus-sysdeps-unix.c, ↵Ralf Habacker2007-03-101-2/+2
| | | | dbus/dbus-sysdeps-util-unix.c, dbus/dbus-sysdeps-util-win.c, bus/dbus-sysdeps-win.c,dbus/dbus-sysdeps.h: renamed _dbus_xxx_pipe to _dbus_pipe_xxx, completed _dbus_pipe support.
* * configure.in: Add a check for DIR *dirp->dd_fdJohn (J5) Palmieri2006-11-021-1/+3
| | | | | | * dbus/dbus-sysdeps-util-unix: if HAVE_DDFD is defined use DIR *dirp->dd_fd else use DIR *dirp->__dd_fd. This takes care of both Solaris and Irix
* * configure.in: define _POSIX_PTHREAD_SEMANTICS on solarisJohn (J5) Palmieri2006-10-081-3/+6
| | | | | avoid using dirfd on systems that don't have dirfd (Patch by Brian Cameron <brian dot cameron at sun dot com>)
* * dbus/dbus-sysdeps-util-unix.c (dirent_buf_size): Add check forJohn (J5) Palmieri2006-10-021-0/+2
| | | | MAXNAMELEN for Mac OSX. (Patch from Jonas B <sanoix at gmail dot com>)
* * tools/Makefile.am: use @EXPANDED_DATADIR@ instead of @DATADIRNAME@John (J5) Palmieri2006-09-181-0/+4
|
* 2006-09-16 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-09-161-1/+2
| | | | | | | | | | * dbus/dbus-sysdeps-unix.h: small change to Peter's patch to make dbus-sysdeps-unix-util.c build, add unix-specific sysdeps header. * dbus/dbus-sysdeps.h, dbus-sysdeps-unix.c: patch from Peter Kümmel bug #8249 to make the sysdeps.h read/write/open/close functions specifically for sockets only, and move generic read/write/open/close into unix-specific code.
* * dbus/dbus-sysdeps-util-unix.c: Forgot to pass NULL as the secondJohn (J5) Palmieri2006-09-141-1/+1
| | | | parameter to _dbus_close
* * dbus/dbus-sysdeps-util-unix.c (_dbus_write_pid_file):John (J5) Palmieri2006-09-141-1/+1
| | | | use _dbus_close instead of close
* * dbus/dbus-sysdeps-util-unix.c (_dbus_directory_get_next_file):John (J5) Palmieri2006-09-131-12/+67
| | | | use threadsafe readdir_r instead of readdir
* * remove a bunch of todo items from the 1.0 listJohn (J5) Palmieri2006-09-111-1/+2
|
* * doc/TODO, various source files: Audited todo's and FIXME's andJohn (J5) Palmieri2006-09-061-2/+2
| | | | | | prepended the ones we should be looking at with 1.0. Those prepended with 1.0? need clerification or might not be needed for 1.0
* 2006-08-29 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-08-301-0/+740
* dbus/dbus-sysdeps-util.c, dbus/dbus-sysdeps-util-unix.c: change from Ralf Habacker to move UNIX-specific sysdeps into a separate file.