hal: Branch 'master'
David Zeuthen
david at kemper.freedesktop.org
Sun Mar 4 09:42:49 PST 2007
tools/hal-acl-tool.c | 4 ++++
1 files changed, 4 insertions(+)
New commits:
diff-tree da20ca8c49b76c0917bd822803b0b20ebf6aa280 (from a914508956fdf66c232b41eec4ba3bd7779701fc)
Author: David Zeuthen <davidz at redhat.com>
Date: Sun Mar 4 12:42:19 2007 -0500
don't give ACL's to uid 0
diff --git a/tools/hal-acl-tool.c b/tools/hal-acl-tool.c
index 530d4dc..e272575 100644
--- a/tools/hal-acl-tool.c
+++ b/tools/hal-acl-tool.c
@@ -626,6 +626,10 @@ acl_device_added_visitor (const char *se
if (!session_is_local)
continue;
+ /* don't bother giving ACL's to root - he's almighty anyway */
+ if (session_uid == 0)
+ continue;
+
if (afd->grant_to_local_seat)
afd_grant_to_uid (afd, session_uid);
else {
More information about the hal-commit
mailing list