Fix accessibility of root apps on Linux
authorMike Gorse <mgorse@novell.com>
Tue, 8 Mar 2011 21:45:09 +0000 (15:45 -0600)
committerMike Gorse <mgorse@novell.com>
Tue, 8 Mar 2011 22:17:07 +0000 (16:17 -0600)
commit3e6cf48cd7a24303324f10039b63bd916a8aa49e
tree93bab41b5f9a75407a1787d928b1f64930e2d016
parent6b5a1d9a60ff1a85ce6a8a7568f3837bef964481
Fix accessibility of root apps on Linux

For an application running as root, check the uid of its parent, and, if
necessary, the parent's parent and so on, to find the user that initially
launched the application, and permit dbus connections from this uid.  Note
that this will likely only work under Linux.
atk-adaptor/bridge.c