diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-05 18:47:50 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-05-05 18:47:50 +0100 |
commit | d6fcf20ef7a39504a819fa8f43b2c38905a40f1c (patch) | |
tree | e0ed27d9d5fe8575d487f664d418e94583699099 | |
parent | ea3fad6237fff58362cd6b2c0cb97bd44b48d1a6 (diff) | |
download | telepathy-mission-control-d6fcf20ef7a39504a819fa8f43b2c38905a40f1c.tar.gz |
pid_is_permitted(): remove
-rw-r--r-- | plugins/mcp-dbus-aegis-acl.c | 20 |
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, |