From: Daniel Wagner <[email protected]>

Hi,

This series is on top of "[PATCH v2 0/7] Session and Policy Plugin Fixes"

These patches prepare the stage for the UID/GID policy plugin feature.
I have grouped the patches based where the changes happens. Previously
I had a different ordering but this one seems simpler to follow.

  session: Change to "func_t" postfix to callback typedef
  session: Do not fail when creating default policy configuration

The first patch updates the function postfix to be _func_t which
is used in the rest of core. The second patch simplifies the code
by not handling small memory allocation. 

  dbus: Refactor callback helper struct
  dbus: Add connman_dbus_get_connnection_unix_user()

These two patches add a new function for asking the dbus server
what UID/GID the message is comming from.

  session_policy_local: Do not handle small allocation

And this one simplifies the plugin by not handling small memory allocations.

cheers,
daniel

Daniel Wagner (5):
  session: Change to "func_t" postfix to callback typedef
  session: Do not fail when creating default policy configuration
  dbus: Refactor callback helper struct
  dbus: Add connman_dbus_get_connnection_unix_user()
  session_policy_local: Do not handle small allocation

 include/dbus.h                 |   8 +++
 include/session.h              |   6 +--
 plugins/session_policy_local.c |  52 +++-----------------
 src/dbus.c                     | 108 ++++++++++++++++++++++++++++++++++++++---
 src/session.c                  |  22 +++------
 5 files changed, 126 insertions(+), 70 deletions(-)

-- 
1.8.2.rc3.16.gce432ca

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to