#include "ivi-compositor.h"
#include "policy.h"
+#ifdef HAVE_SMACK
+#include <sys/smack.h>
+#endif
+
+#include <string.h>
+
/*
* default policy implementation allows every action to be possible
*
return true;
}
+/* we allow all applications to bind to private extensions. See the deny-all
+ * policy instead for how to retrieve the clients fd and its label to check
+ * against */
static bool
ivi_policy_default_shell_bind_interface(void *client, void *interface)
{
if (!ivi->policy)
return -1;
+ weston_log("Installing 'allow-all' policy engine\n");
return 0;
}