[systemd-devel] [PATCH 09/12] policy: kdbus_policy_set() use another variable to save entries

2014-06-20 Thread Djalal Harouni
In kdbus_policy_set() function, we use the 'e' variable to reference each entry of the 'db-entries_hash', so at the end the variable 'e' will for sure point to a valid one. Next in the KDBUS_ITEMS_FOREACH() iterator and if we fail at the first KDBUS_ITEM_VALID() test, we jmp to exit: Which

Re: [systemd-devel] [PATCH 09/12] policy: kdbus_policy_set() use another variable to save entries

2014-06-20 Thread Daniel Mack
On 06/20/2014 06:50 PM, Djalal Harouni wrote: In kdbus_policy_set() function, we use the 'e' variable to reference each entry of the 'db-entries_hash', so at the end the variable 'e' will for sure point to a valid one. Next in the KDBUS_ITEMS_FOREACH() iterator and if we fail at the first