From: Daniel Wagner <[email protected]>

Hi,

An updated version of part2. Noteworthy changes are the drop the
additional directory for the SELinux function. I have moved it to
connman/dbus.c. Another thing is that I introduced refcounting for the
policy object. And suddenly the messy code went away. I think overall
this version is in a pretty good state. 

cheers,
daniel

Daniel Wagner (15):
  build: No FORTIFY flags when building without optimization
  config: Factor out config inotify handler
  inotify: Move inotify code into its own file
  dbus: Add SELinux support
  session: Update sessions on config updates
  session: Add connman_session_get_owner()
  session: Export session parsing functions
  session: Store user AllowedBearers configuration
  session: Don't filter match all out
  session_policy_ivi: Add policy plugin for IVI
  session_policy_ivi: Get SELinux context of session owner
  session_policy_ivi: Create session config
  session_policy_ivi: Add hash table to track idents
  session_policy_ivi: Watch for changes on policy files
  session_policy_ivi: Implement policy_load()

 Makefile.am                  |   4 +-
 Makefile.plugins             |  12 ++
 configure.ac                 |  10 +-
 include/dbus.h               |   8 +
 include/inotify.h            |  37 ++++
 include/session.h            |   8 +
 plugins/session_policy_ivi.c | 475 +++++++++++++++++++++++++++++++++++++++++++
 src/config.c                 | 181 ++++-------------
 src/connman.h                |   5 +
 src/dbus.c                   | 135 ++++++++++++
 src/inotify.c                | 236 +++++++++++++++++++++
 src/main.c                   |   2 +
 src/session.c                | 112 ++++++++--
 13 files changed, 1055 insertions(+), 170 deletions(-)
 create mode 100644 include/inotify.h
 create mode 100644 plugins/session_policy_ivi.c
 create mode 100644 src/inotify.c

-- 
1.7.11.7

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

Reply via email to