diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-18 20:57:08 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-18 20:57:08 +0000 |
commit | 3a10304a2de1c795049c0f9cadff6dc8061f5920 (patch) | |
tree | 2f168f6e1bb1c1d784e79aa1568208c8603a27f6 /bus/apparmor.c | |
parent | 24f1502e42b58a7c238779c023c6bfe870dc78cc (diff) | |
download | dbus-3a10304a2de1c795049c0f9cadff6dc8061f5920.tar.gz |
Revert "Add DBus method to return the AA context of a connection"
This reverts commit 24f1502e42b58a7c238779c023c6bfe870dc78cc,
which wasn't meant to go upstream (it's backwards compatibility
with older versions of this patchset).
Diffstat (limited to 'bus/apparmor.c')
-rw-r--r-- | bus/apparmor.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bus/apparmor.c b/bus/apparmor.c index af76ca27..072e2edf 100644 --- a/bus/apparmor.c +++ b/bus/apparmor.c @@ -105,21 +105,6 @@ bus_apparmor_confinement_new (char *label, return confinement; } -const char* -bus_apparmor_confinement_get_label (BusAppArmorConfinement *confinement) -{ -#ifdef HAVE_APPARMOR - if (!apparmor_enabled) - return NULL; - - _dbus_assert (confinement != NULL); - - return confinement->label; -#else - return NULL; -#endif -} - void bus_apparmor_confinement_unref (BusAppArmorConfinement *confinement) { |