summaryrefslogtreecommitdiff
path: root/src/dbus.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-18dbus: Add connman_dbus_get_connnection_unix_user()Daniel Wagner1-0/+93
The UID is fetched via org.freedesktop.DBus.GetConnectionUnixUser D-Bus method call.
2013-04-18dbus: Refactor callback helper structDaniel Wagner1-7/+8
The helper struct will be used by a new dbus function which uses a different callback signature. Therefore, we need to use a void pointer for storing the callback.
2012-11-23dbus: Add SELinux supportDaniel Wagner1-0/+135
ConnMan needs to identify application in a secure way when they are using the Session API. The current D-Bus server implemention supports two types of LSM, POSIX and SELinux. In order to support SMACK or TOMOYO the D-Bus code base needs to be patch. This is the initial work to support at least POSIX and SELinux. Maybe in the future we are able to support also the other LSMs. The idea behind gsec is to keep the LSM related code together in one directory. The API introduces in this patch is not any way final. It will need some more time figuring out how are able to intregrate this in a nice way. The current API introduces g_sec_get_selinux_label() which will return the SELinux context. The function will issuing a GetConnectionSELinuxSecurityContext method call. Note, that this function is not documented in the D-Bus specification. See for more details the source code dbus/bus/drivers.c and dbus/bus/selinux.c in the D-Bus reference implementation.
2012-11-23provider: Refactor server and user route handlingJukka Rissanen1-0/+17
The server and user route handling is refactored in order to reflect the vpn dbus API changes. The routes are now array of dicts in dbus API.
2012-04-29core: Update copyright informationMarcel Holtmann1-1/+1
2012-02-24dbus: Function for adding array of object paths and dictionariesPatrik Flykt1-0/+26
Function for adding an array of object paths and dictionaries to D-Bus messages.
2011-04-18dbus: Add support for uint64 and int64 propertiesMarcel Holtmann1-0/+6
2011-03-31dbus: Add connman_dbus_setting_changed_*()Daniel Wagner1-0/+86
2011-01-22Add debug infoLi Jian1-0/+4
Some init/clean functions lack DBG("") which affects logs readability.
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-12-19Rename D-Bus helper function for variable arraysMarcel Holtmann1-3/+3
2009-12-19Add D-Bus helper for array property changed signalsMarcel Holtmann1-0/+23
2009-12-19Add user data argument to D-Bus array property helpersMarcel Holtmann1-2/+3
2009-12-19Rename D-Bus helper for basic property typesMarcel Holtmann1-2/+2
2009-12-19Add user data to D-Bus helper function callbacksMarcel Holtmann1-2/+2
2009-12-19Add helpers for adding dictionaries as propertyMarcel Holtmann1-0/+43
2009-12-19Add helper for sending PropertyChanged signalMarcel Holtmann1-1/+23
2009-12-19Use inline functions for dictionary helpersMarcel Holtmann1-40/+0
2009-12-19Create another helper for fixed array propertiesMarcel Holtmann1-23/+31
2009-12-19Add another D-Bus helper for properties with arraysMarcel Holtmann1-27/+36
2009-12-19Add helpers for appending flexible D-Bus arraysMarcel Holtmann1-5/+43
2009-12-14Add public function to validate D-Bus identifiersMarcel Holtmann1-0/+21
2009-03-31Add helper function to encode D-Bus object pathsMarcel Holtmann1-0/+28
2009-01-01Update copyright informationMarcel Holtmann1-1/+1
2008-12-23Use global connman.h header fileMarcel Holtmann1-1/+1
2008-12-20Add generic reference to the global D-Bus connectionMarcel Holtmann1-0/+22
2008-12-20Add D-Bus helper for appending propertiesMarcel Holtmann1-38/+46
2008-12-03Add byte and signed integer typesMarcel Holtmann1-0/+9
2008-10-17Add generic D-Bus helpersMarcel Holtmann1-0/+99