kdbus_policy_check_own_access() returns 0 if access is granted,
otherwise a negative errno.
So fix this by returning 0. We did not hit this since callers were
checking negative values for errors.
Signed-off-by: Djalal Harouni tix...@opendz.org
---
policy.c | 13 +++--
1 file changed, 11
On 06/20/2014 06:50 PM, Djalal Harouni wrote:
kdbus_policy_check_own_access() returns 0 if access is granted,
otherwise a negative errno.
So fix this by returning 0. We did not hit this since callers were
checking negative values for errors.
Applied, thanks.
Daniel
Signed-off-by: