[PATCH v4 00/18] Policy IVI Plugin (part 2)

Daniel Wagner wagi at monom.org
Wed Nov 14 08:25:59 PST 2012


From: Daniel Wagner <daniel.wagner at bmw-carit.de>

Hi,

A lot of small detail cleanups. Notworthy changes:

- Error handling got a lot better
- inotify learned to watch for moving files

cheers,
daniel

Daniel Wagner (18):
  build: No FORTIFY flags when building without optimization
  config: Factor out config inotify handler
  inotify: Move inotify code into its own file
  inotify: Watch out for files moved to/from watched dirs
  dbus: Add SELinux support
  session: Add sessions config update function
  session: Add destroy function for plugins
  session: Add getter for session owner
  session: Export session parsing functions
  session: Factor out set default config helper
  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 function

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

-- 
1.8.0.rc0




More information about the connman mailing list