message: account both memfds and fds against KDBUS_MSG_MAX_FDS
authorDjalal Harouni <tixxdz@opendz.org>
Mon, 20 Oct 2014 16:13:14 +0000 (17:13 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Mon, 20 Oct 2014 16:13:14 +0000 (17:13 +0100)
commit65b277d6c0d65801f861be12110f7c7202796280
tree4e6e0817b43bd62410ac38872cce1d7f8af8666f
parenta56ea6a790e7768a5af3d186c25a9547642979b2
message: account both memfds and fds against KDBUS_MSG_MAX_FDS

Ensure that the number of memfds and normal fds will not exceed
KDBUS_MSG_MAX_FDS per message.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
message.c