KDBUS_MAKE_POLICY_OPEN set as default behaviour.
Change-Id: I088758df1f93411dc1154131129e2b3f25526a86
Signed-off-by: Radoslaw Pajak <r.pajak@samsung.com>
#ifdef POLICY_TO_KDBUS
bus_make->flags = KDBUS_MAKE_ACCESS_WORLD;
#else
- bus_make->flags = KDBUS_MAKE_POLICY_OPEN;
+ bus_make->flags = KDBUS_MAKE_ACCESS_WORLD | KDBUS_MAKE_POLICY_OPEN;
#endif
addr_value = strchr(address, ':') + 1;
#define KDBUS_PART_SIZE(s) KDBUS_ALIGN8((s) + KDBUS_PART_HEADER_SIZE)
//todo restore if DBus policy will be applied in kdbus somehow
-#define POLICY_TO_KDBUS
+//#define POLICY_TO_KDBUS
dbus_bool_t register_kdbus_policy(const char* name, DBusTransport *transport, unsigned long int uid);
int request_kdbus_name(int fd, const char *name, const __u64 flags, __u64 id);