Created attachment 28988 [details] list of exported symbols As you can see from the attached file, the libpolkit* libs export symbols which are not part of the public API. This is most likely due to a missing export-symbols file (or regex)
Created attachment 28993 [details] list of exported symbols which are not part of the public API Attached is the list of export symbols, which is not part of the public API (i.e. /usr/include/polkit-1/)
Created attachment 29043 [details] [review] 0001-Trim-the-list-of-exported-symbols
Created attachment 29044 [details] [review] 0002-Use-_polkit_agent_marshal-prefix
Created attachment 29045 [details] [review] 0003-Make-private-symbols-accessible-to-libpolkitagent-and libpolkitbackend
I tested the patches briefly and everythings seems to work fine so far. The only problem I ecountered is, that when I run polkit-gnome-authentication-agent-1, I get the following output on stdout: (polkit-gnome-authentication-agent-1:21185): GLib-GObject-WARNING **: cannot register existing type `_PolkitError' (polkit-gnome-authentication-agent-1:21185): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed There are also other warnings like (polkit-gnome-authentication-agent-1:5656): GLib-GIO-WARNING **: g_simple_async_result_complete() called from outside main loop! but they were also there before the patches.
Applied, thanks. I'll look into the warning for _PolkitError - the one about the main loop should be fixed in the next GLib release, see http://bugzilla.gnome.org/show_bug.cgi?id=594148
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.