summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-05 18:47:50 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-05 18:47:50 +0100
commitd6fcf20ef7a39504a819fa8f43b2c38905a40f1c (patch)
treee0ed27d9d5fe8575d487f664d418e94583699099
parentea3fad6237fff58362cd6b2c0cb97bd44b48d1a6 (diff)
downloadtelepathy-mission-control-d6fcf20ef7a39504a819fa8f43b2c38905a40f1c.tar.gz
pid_is_permitted(): remove
-rw-r--r--plugins/mcp-dbus-aegis-acl.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/mcp-dbus-aegis-acl.c b/plugins/mcp-dbus-aegis-acl.c
index 34a2be24..9fd49579 100644
--- a/plugins/mcp-dbus-aegis-acl.c
+++ b/plugins/mcp-dbus-aegis-acl.c
@@ -231,26 +231,6 @@ check_peer_creds_sync (DBusGConnection *dgc,
}
static gboolean
-pid_is_permitted (pid_t pid)
-{
- gboolean ok = FALSE;
-
- if (pid != 0)
- {
- creds_t caller = creds_gettask (pid);
-
- DEBUG ("creds_have_p (creds_gettask (%d) -> %p, %d, %ld)",
- pid, caller, aegis_type, aegis_token);
- ok = creds_have_p (caller, aegis_type, aegis_token);
- DEBUG (" --> %s", ok ? "TRUE" : "FALSE");
-
- creds_free (caller);
- }
-
- return ok;
-}
-
-static gboolean
caller_authorised (const McpDBusAcl *self,
const TpDBusDaemon *dbus,
const DBusGMethodInvocation *call,