session_policy_local: Create policy directory if necessary
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 6 Dec 2012 07:37:11 +0000 (08:37 +0100)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 10 Dec 2012 11:01:05 +0000 (13:01 +0200)
commit93bce67bb7abbad07161280e1491cb5faaabf602
tree378ef9e8c930725dd9e98ef30cf4deb394471d5f
parent7fbdf15b2545bd9e9d1cb0376544e4f4095d2bd2
session_policy_local: Create policy directory if necessary

Create the policy directory as first thing. If we don't do this
adding a watch on the non existing directory will fail and the
whole plugin is not loaded.

We need to figure out later how permissive the MODE of the directory
should be. Currently, we play safe and have it tied down.
plugins/session_policy_local.c