Allow KDBUS_CMD_CONN_UPDATE for KDBUS_CONN_POLICY_HOLDER connections. Signed-off-by: Djalal Harouni <tix...@opendz.org> --- handle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/handle.c b/handle.c index 2e6502b..ac68681 100644 --- a/handle.c +++ b/handle.c @@ -636,8 +636,8 @@ static long kdbus_handle_ioctl_ep_connected(struct file *file, unsigned int cmd, case KDBUS_CMD_CONN_UPDATE: /* update the properties of a connection */ - - if (conn->type != KDBUS_CONN_CONNECTED) { + if (conn->type != KDBUS_CONN_CONNECTED && + conn->type != KDBUS_CONN_POLICY_HOLDER) { ret = -EOPNOTSUPP; break; } -- 1.9.3 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel