dbus/test
Simon McVittie 1f716452e7 bus driver: factor out bus_driver_check_caller_is_privileged, and allow root
Unlike the initial mitigation for CVE-2014-8148, we now allow
uid 0 to call UpdateActivationEnvironment. There's no point in root
doing that, but there's also no reason why it's particularly bad -
if an attacker is uid 0 we've already lost - and it simplifies
use of this function for future things that do want to be callable
by root, like BecomeMonitor for #46787.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88810
Reviewed-by: Philip Withnall
2015-02-03 16:19:11 +00:00
..
data Add a test for uid-controlled permissions 2015-02-03 16:19:08 +00:00
internals Bump required GLib version to 2.36 2015-02-03 16:18:47 +00:00
name-test Use pygi instead of pygobject 2 2015-01-27 14:29:59 +00:00
.gitignore Update .gitignore files 2015-02-03 15:40:01 +00:00
break-loader.c Remove DBUS_COMPILATION from test source code 2013-09-13 13:44:09 +01:00
corrupt.c Bump required GLib version to 2.36 2015-02-03 16:18:47 +00:00
dbus-daemon-eavesdrop.c Add infrastructure to run bits of tests under an alternative uid 2015-02-03 16:19:05 +00:00
dbus-daemon.c Add infrastructure to run bits of tests under an alternative uid 2015-02-03 16:19:05 +00:00
dbus-test-runner Add support for installing most of the modular tests 2011-06-10 18:32:35 +01:00
fdpass.c New test for fd-passing 2014-09-17 17:20:07 +01:00
loopback.c Tests: allow dbus-glib to be replaced with use of libdbus-internal 2013-09-03 12:00:51 +01:00
Makefile.am Add a test for uid-controlled permissions 2015-02-03 16:19:08 +00:00
manual-authz.c Tests: allow dbus-glib to be replaced with use of libdbus-internal 2013-09-03 12:00:51 +01:00
manual-dir-iter.c Add directory test application 'manual-dir-iter' to cmake and autotools build system. 2014-09-08 14:33:37 +00:00
manual-tcp.c Add manual tcp test case. 2015-01-30 09:33:40 +01:00
marshal.c Tests: allow dbus-glib to be replaced with use of libdbus-internal 2013-09-03 12:00:51 +01:00
relay.c Tests: allow dbus-glib to be replaced with use of libdbus-internal 2013-09-03 12:00:51 +01:00
shell-test.c Define DBUS_COMPILATION externally for all tests that use internal stuff 2013-09-03 12:00:44 +01:00
spawn-test.c DBusBabysitter: change executable to log_name 2013-11-01 12:40:41 +00:00
syntax.c Accept non-characters when validating Unicode 2013-04-22 15:36:32 +01:00
test-exit.c Include config.h as the first thing in every .c file 2013-02-22 13:08:27 +00:00
test-names.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-segfault.c On Linux, call prctl to disable core dumps 2014-09-15 11:50:48 +01:00
test-service.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
test-shell-service.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00:00
test-sleep-forever.c fix warning, use Sleep, not _sleep on windows (cherry picked from commit ea36c743ad60a2dd5c6286571d1a475903519809) 2009-11-30 12:00:14 +01:00
test-utils-glib.c Add a test for uid-controlled permissions 2015-02-03 16:19:08 +00:00
test-utils-glib.h Add a test for uid-controlled permissions 2015-02-03 16:19:08 +00:00
test-utils.c Factor out some utility functions from test/dbus-daemon* 2015-02-03 16:18:57 +00:00
test-utils.h Factor out some utility functions from test/dbus-daemon* 2015-02-03 16:18:57 +00:00
uid-permissions.c bus driver: factor out bus_driver_check_caller_is_privileged, and allow root 2015-02-03 16:19:11 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00