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:
c2ba8c3
)
connection: use KDBUS_HELLO_ACCEPT_MEMFD to check for passed memfds
author
Djalal Harouni
<tixxdz@opendz.org>
Tue, 14 Oct 2014 21:34:50 +0000
(22:34 +0100)
committer
Djalal Harouni
<tixxdz@opendz.org>
Tue, 14 Oct 2014 21:34:50 +0000
(22:34 +0100)
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
connection.c
patch
|
blob
|
history
diff --git
a/connection.c
b/connection.c
index daa3340352c7659006eb0d927a087ac17fdb1077..bbc87b1aa73478fd6e0ee217bbc0cf843177d71c 100644
(file)
--- a/
connection.c
+++ b/
connection.c
@@
-507,7
+507,7
@@
static int kdbus_conn_entry_insert(struct kdbus_conn *conn,
}
if ((kmsg->fds && !(conn->flags & KDBUS_HELLO_ACCEPT_FD)) ||
- (kmsg->memfds_count && !(conn->flags & KDBUS_HELLO_ACCEPT_FD))) {
+ (kmsg->memfds_count && !(conn->flags & KDBUS_HELLO_ACCEPT_
MEM
FD))) {
ret = -ECOMM;
goto exit_unlock;
}