diff options
author | Ryan Lortie <desrt@desrt.ca> | 2005-02-18 18:18:32 +0000 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2005-02-18 18:18:32 +0000 |
commit | b0e260cd15f5d95f501eba254a803f180d547174 (patch) | |
tree | d384badec538ef759dad0a867b4b3dd72f9d4b9e /bus/policy.c | |
parent | 74ae666f06076e8ebd9bc8267e3b824ef042b0ab (diff) |
This commit was manufactured by cvs2svn to create tag 'dbus-0.23.2'.dbus-0.23.2
Diffstat (limited to 'bus/policy.c')
-rw-r--r-- | bus/policy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bus/policy.c b/bus/policy.c index 7759dfad..c0244bdc 100644 --- a/bus/policy.c +++ b/bus/policy.c @@ -453,8 +453,9 @@ bus_policy_allow_user (BusPolicy *policy, uid); return FALSE; } - - allowed = FALSE; + + /* Default to "user owning bus" or root can connect */ + allowed = uid == _dbus_getuid (); allowed = list_allows_user (allowed, &policy->default_rules, |