sysprof-agent uses libpolkit-gobject (missing from SDK)
Currently sysprof-agent is using libpolkit-gobject to do authorization our our D-Bus FD used to communicate with the sysprofd profiling daemon (which is what grants access to perf, redacted kernel symbols, proc files, etc).
That leaves two options:
- Crib the bits of polkit-gobject we use (it's not much, and it's really just D-Bus API anyway which can probably be simplified into plain D-Bus calls)
- Just add polkit-gobject to the SDK (possibly harder and perhaps doesn't make sense given the Flatpak SDK?)
I'm okay doing either, I just want some feedback on what y'all think is best.