connection: check policy for reply-awaiting messages as well
authorDaniel Mack <daniel@zonque.org>
Fri, 5 Sep 2014 16:39:57 +0000 (18:39 +0200)
committerDaniel Mack <daniel@zonque.org>
Fri, 5 Sep 2014 16:39:57 +0000 (18:39 +0200)
commit88847e4980c45530ab2f8fcf7f561c24011fd486
tree69fae4ca8bdfb393dcd2edbcf9fa60a288f7d121
parent51aa016c680a37b016e417c28dc1e43d93c95e64
connection: check policy for reply-awaiting messages as well

The current logic in bogus. We need to call kdbus_conn_check_access()
for messages that require a message as well. Also, teach
kdbus_conn_check_access() a mode in which not to look up expected
replies of a connection.
connection.c