Commit b8f533d7 authored by Colin Walters's avatar Colin Walters
Browse files

RHEL-4: Import dbus-0.22-user-has-same-id.patch

parent ab7f3adb
......@@ -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,
......
......@@ -19,8 +19,6 @@
<allow eavesdrop="true"/>
<!-- Allow anyone to own anything -->
<allow own="*"/>
<!-- Allow any user to connect -->
<allow user="*"/>
</policy>
<!-- This is included last so local configuration can override what's
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment