>From what I can see, GetConnectionCredentials() does not quite return
the same information as GetConnectionAppArmorSecurityContext().  With
the new API, I get back a value like "profile_name (enforce)".

I can extract the profile name using aa_splitcon(), but this was only
added in libapparmor 2.10.  Unfortunately vivid only provides version
2.9.1.

We're going to be stuck supporting vivid for a while, so I guess there
are two ways to solve this:

1. someone uploads a new libapparmor build for vivid to the 
stable-phone-overlay PPA.
2. I provide my own version of the label splitting code in my project.

(1) seems like the preferable option, since it would reduce code
duplication over all the projects listed in this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489489

Title:
  The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method
  is deprecated

To manage notifications about this bug go to:
https://bugs.launchpad.net/online-accounts-api/+bug/1489489/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to