[apparmor] [PATCH 03/20] Rework depth first traversal of expr trees
Kees Cook
kees.cook at canonical.com
Fri Nov 5 16:41:29 GMT 2010
On Fri, Nov 05, 2010 at 09:01:53AM -0400, John Johansen wrote:
> It is replaced by
>
> + if (node->child[1] && node->child[1] != last) {
> + push_left(node->child[1]);
> + }
>
> which is if we have a right node and our right node wasn't the last node visited
> then visit that subtree, other wise its the parents turn.
Ah, gotcha. ACK, thanks!
--
Kees Cook
Ubuntu Security Team
More information about the AppArmor
mailing list