projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59373e6
)
connection: code documentation for the signal access logic
author
Djalal Harouni
<tixxdz@opendz.org>
Mon, 5 Jan 2015 14:08:26 +0000
(15:08 +0100)
committer
Djalal Harouni
<tixxdz@opendz.org>
Mon, 5 Jan 2015 14:08:26 +0000
(15:08 +0100)
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index 8c2e7d88289182d8a83fd3515a17ba425faffb53..9b016d5f97a4c88bdc4ec6c84de320cabbedc747 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-1001,6
+1001,10
@@
int kdbus_cmd_msg_send(struct kdbus_conn *conn_src,
goto exit_unref;
}
} else if (msg->flags & KDBUS_MSG_SIGNAL) {
+ /*
+ * A receiver needs TALK access to the sender
+ * in order to receive signals.
+ */
ret = kdbus_conn_check_access(conn_dst, conn_src,
msg, NULL);
if (ret < 0)